How can a hexadecimal floating point constant, as specified in C99, be printed from a array of bytes representing the machine representation of a floating point value? e.g. given
union u_double
{
double dbl;
char data[sizeof(double)];
};
An example hexadecimal floating point constant is a string of the form
0x1.FFFFFEp1...
I created a row (header row) in a gridview with a dropdownlist among other input controls. I also put a button on that row (fltbttn-see below). I created an addhandler for the button called fltbttn_Click. I want gain access to my dropdownlist (ddlscantype) using findcontrol but how can I get to the header row where the filter controls ex...
I'm writing pop-up's for a website (please don't get angry. It's an internal application that shows energy usage for different buildings and the specification is to alert the users every time they log on) and I have a VBScript script that will run at the end of the a Windows user's logon script.
Is there a command to run the script from...
Hello, I'm creating a setup pacakage in Visual Studio 2008 to register a COM component and one of the actions is to add a few keys to the registry.
The odd thing about it is when I run the installer it creates the key hierarchy correctly but the last key in the hierarchy it creates has the wrong GUID... whereas its right in the installe...
I am using Microsoft Visual Studio 2008, and successfully building a command-line program in C++.
However, for my automated build I call cl.exe and link.exe outside the context of MSVC (I build using Maven Native, as most of the project is Java).
In that case, I manage to generate my executable. But when I execute it, I get the message...
How would you got about setting up a project that doesn't really build, but just runs some commands on the files you are working with.
For example, lets say I wanted to setup a project for creating Windows Vista and Windows 7 gadgets. A gadget is nothing more than some html, images, javascript, xml, css, put into a .zip file and then r...
Right now I have some libraries that link easily to Visual Studio projects but I can't figure out how to link them with Qt. My idea is to write a VS project that wraps the functionality I need from the libraries, then compile that to a library which can be linked to Qt. From my understanding, VS and Qt use compilers that create incompa...
Hello,
I'm trying to utilize a web service through C#.
In the web service documentation it states that the web service only accepts requests as a single packet/stream and not multiple packets.
Does anyone know how to change this setting when accessing the web service through a web reference in Visual Studio?
I am getting a SOAPExceptio...
In Visual Web Developer Express 2008:
I would like to know the difference between debugging with:
Use local IIS web server
and
Use Custom web server
I'm using IIS7 on windows vista and the only difference I've noticed is that you need the IIS6 compatibility component for Local IIS and, more importantly,
that debugging with Local II...
We have a vdproj (Visual Studio Setup File) which references and builds some C# projects. In our build system, we would like to override some properties in the C# projects, when the vdproj gets built. Is there any way to do achieve this?
...
I have a namespace conflict between two referenced assemblies:
i.e., I'm referencing Foo.A.Foo and Foo.Bar, so when I say I want Foo.Bar.Control, VS is trying to find Foo.A.Foo.Bar.Control
I can twiddle the Designer.cs code by adding new global:Foo.Bar.Control(), but as soon as I change anything, VS switches back.
I know there's somet...
I am working on a VC++ project under VS2008. My resource files contain some pre-processor directives for conditional compilation. Some of the symbols controlling the conditional compilation are defined in stdafx.h. I need these symbols to be visible to the resource compiler as well. How do I make this happen?
...
We have a solution with 15 projects, which all has code analysis enabled.
The solution easily takes 60+ seconds to build, which is a very long time when sitting waiting.
If I disable code analysis it builds in 10 sesonds.
I would love to be able to disable code analysis on an ad-hoc basis. But still I want code analysis when building ...
Hi SO:
I have a virtual machine running windows 2003 server running MOSS 2007. This virtual machine is not being run on my dev machine, but on a different machine on the network. I can ping both the host and guest OS from my dev machine. I just need to know, if it is possible, how to configure visual studio 2008 to deploy the web parts/...
I'm developing an application using Visual C# Express Edition - what is the downside to using the express editions? Are there any limitations on what I can build and release? Will my users be able to tell I'm using the Express Edition?
...
My solution is way too big, and when I work on a specific feature, I am unloading un-needed projects to speed up the compilation process.
However, when I need to reload everything back in the solution, it literally takes ages. I once waited around 2 hours for it. I think that was for about 40 projects. Why does it take that long? Is ther...
I have a legacy MS NMAKE Makefile I need to fix a few bugs in.
There are some very long command lines I wish to debug that are being executed using the following NMAKE trick
dep:
cmd @<<tmpfilename
cmd_args..
<<
When changing the line to
dep:
echo cmd @<<tmpfilename
cmd_args..
<<
NMAKE complains that the line is too long....
I am trying to access a Project Server 2007 web service. I am working on a Windows 2003 server with IIS 6.0 installed. When I try to connect to the webservice after adding a web reference to my VS2005 code I get HTTP 401 Unauthorized error.
I have tried the following things and yet am unable to connect. Please let me know if you can ...
I'm using VS 2008 and I notice a lot of wasted screenspace, such as the Error List upgrade I propose below. Is there any way to change the way panels are rendered to make them smaller? Or maybe some addon to VS that does what it does but with compacted panels.
Current Error List - Only 2 errors visible
Future - 6 errors visible in s...