All Questions

1
vote
2answers
1k views

Has anyone out there succeeded in building Chrome under Windows?

I am quantitatively studying various metrics associated with automated tests. Chrome seems to have a reasonable set, so I wanted to add it to my data set. I downloaded the Chrome source code and tried ...
2
votes
3answers
1k views

Howto get SharePoint version using object model

With WSSv2 (SharePoint 2003) you could get the version of SharePoint you were working with e.g. SPGloablAdmin.Version gives you "12.0.0.6219" for WSSv3 SP1 However its now obsolete (although still ...
1
vote
1answer
1k views

pulling location.href or window.location from fire fox without it being encoded

I'm passing a url through google translate and in my location bar on Fire fox, the url looks as it should: http://72.14.235.104/translate_c?hl=en&langpair=en|ru&sl=ru&tl=ru&u=http://...
1
vote
4answers
4k views

DoEvents In a DLL

Do you have any ideas how to call DoEvents from a C# DLL
8
votes
4answers
9k views

Drag and drop from Windows File Explorer onto a Windows Form is not working

I'm having an issue dragging a file from Windows Explorer on to a Windows Forms application. It works fine when I drag text, but for some reason it is not recognizing the file. Here is my test code:...
10
votes
6answers
3k views

Has anyone tried their software with ReactOS yet?

The Free MS Windows replacement operating system ReactOS has just released a new version. They have a large and active development team. Have you tried your software with it yet? if so what is your ...
4
votes
9answers
2k views

What is wrong with this inheritance?

I just don't get it. Tried on VC++ 2008 and G++ 4.3.2 #include <map> class A : public std::multimap<int, bool> { public: size_type erase(int k, bool v) { return erase(k); ...
3
votes
4answers
15k views

How do I find the remote host name in asp.net?

I used code like this to find the remote user name: banner_label.Text = "Welcome, <B>" + User.Identity.Name + "</B>!" I'd also like to find the remote host name. My production ...
1
vote
2answers
592 views

How to create an ASP.NET custom control with a dash in the name?

I want to set up an ASP.NET custom control such that it has a custom name, specifically, with a hyphen within it, so it might look like this in markup: <rp:do-something runat="server" id="...
24
votes
9answers
32k views

Reference to undeclared entity exception while working with XML

I am trying to set the innerxml of a xmldoc but get the exception: Reference to undeclared entity XmlDocument xmldoc = new XmlDocument(); string text = "Hello, I am text &alpha; &nbsp; &...
26
votes
11answers
39k views

ASP.NET Development Server or Localhost IIS?

Currently our dev team set up all the websites they're working on in IIS on their local machine. We're thinking of switching to using the built in ASP.NET development server instead. Is this a good ...
1
vote
7answers
511 views

ASP.NET - Separation of concerns

Imagine the following scenario - we have Page1 which contains controls Control A and Control B. Say Control A has a button, and on the click of this button we want Control B to react. But we want to ...
1
vote
1answer
1k views

Splitting Word documents with VBA

I have a Word document that starts with a Table of Contents. I need to break up the document into sections based on the Table of Contents. The Table of Contents has a section title and section number. ...
5
votes
3answers
2k views

SQL Command Add Database Diagramming

Is there a tsql command on sqlserver 2008 which can be run in order to enable Database Diagramming instead of this dialog appearing: This database does not have one or more of the support objects ...
312
votes
22answers
177k views

How do I get a human-readable file size in bytes abbreviation using .NET?

How do I get a human-readable file size in bytes abbreviation using .NET? Example: Take input 7,326,629 and display 6.98 MB

15 30 50 per page