visual-studio-2008

Convert VARIANT to...?

Note: Attempting to invoke a method of an interface, of which the return type is _variant_t Code: _variant_t resultsDataString; _bstr_t simObjectNames; simObjectNames = SysAllocString (L"TEST example 3"); resultsDataString = pis8->GetSimObject (simObjectNames); inline function illustrated below, contained in .tli FILE: inline ...

Visual Studio Development Server using wrong port

Related to a previous issue that I thought was resolved and actually isn't... My Visual Studio 2008 installation may be a bit messed up, I think. When my ASP.NET project is set up to use VS Dev Server with a fixed port, I get the "Port in use" error described in the linked question. When my project is set up to use a random (auto-assi...

Strange Ogre Error and A Non-Existant FIle

I am getting this error, I have no clue where: OGRE EXCEPTION(2:InvalidParametersException): Header chunck didn't match either endian: Corrupted stream? in Serializer::determineEdianness at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogreserializer.cpp (line 90) I am using Visual Studio 2008. I tried to gvim the file on th...

How Do I Downgrade a C++ Visual Studio 2008 Project to 2005

How can I downgrade a C++ Visual Studio 2008 project to visual studio 2005? Maybe there is a converter program that someone knows of or otherwise a process that I can undertake. Thanks. ...

Automatic assembly version number management in VS2008

I have a VS2008 project written in c# with a number of assemblies. I'd like to have a simple way of managing the version numbers between all of the different assemblies and a way to automatically increment the build number and have that saved into the version number of each assembly. I'm guessing that this is a problem with most project...

VS Install Crashes and Burns

I've never seen this before. Please can somebody shed some light on it for me. I've just done a clean install of Vista Business 64, followed by Firefox, followed by VS 2008 SP1, from an MSDN DVD. Late in the installation - I wasn't watching so didn't see when - I suddenly got a screenful of fail. The first message in the error log is...

How do you test error handling involving "remote host" errors with ASP.NET development server?

We have an ASP.NET website in production that generates a report and sends it to the user's browser as a PDF file. Our error reporting is showing that we are getting a lot of this exception: System.Web.HttpException: The remote host closed the connection. The error code is 0x80072746. These appear to be caused by the user closing thei...

Redisplay Stack Trace window

I accidentally closed the Stack Trace window in the Visual Studio 2008 debugger. How do I redisplay this window? ...

What is the real, day-to-day operational difference between Vista Home Premium and Ultimate?

I'm about to jump to a new machine that has Vista Home Premium 64 installed. I do development with VS2008. I have an Ultimate 64 license and disc so I can repave if I have to. What are the day-to-day operational differences between Home Premium and Ultimate? I know that IIS7 is supposed to be "stripped-down" but what does that really ...

Uninstalling demo/trial of Visual Studio 2008 Team System

I wish to uninstall the trail copy of VS 2008 Team System, as the trial is coming to its end. I had VS 2008 Professional Edition installed on the machine to start with and it still shows up in Add/Remove Problems. I am hoping that when I uninstall VS 2008 Team System I will be left with a working VS 2008 Professional Edition. When I t...

Already have MSDN with Team System Test edition, how do I....

Already have MSDN with Team System Test Edition, how do I go about getting Developer Edition? Can't find it on MSDN. Do I need to buy a whole other MSDN license for this? Can you add just another SKU into the Team System family, in other words, can you have 2 Team System Versions, or does it have to be the Team $uite MegaVersion or si...

Tool to automatically reformat whole C# source tree in VS2008?

I have inherited a large source tree, C#, Visual Studio 2008. It has many quality issues, one of them is that the code is generally badly formatted. I am looking for a tool, preferably a plugin for Visual Studio, that will go over the whole solution and apply the same basic formatting that Visual Studio itself applies when, for example...

C#: how do i make a listening/tcp server?

how can i make a tcp (ive heard it called a listener?) server (simplicity is optional at this point) that can recieve data from a client thats connected as well as send data back to that individual client (more multiple clients)? ive done several tutorials but i could not get any of them to work or they did not do what i was hoping they...

VS2008 is autoformatting my javascript in a .js file and I want it to stop

Duplicate: http://stackoverflow.com/questions/605461/vs2008-removes-my-indentation-in-js-file (Turn off auto formatting in the formatting tab) Hi I have VS2008 and ReSharper 4.0 and I'm having a problem. When I enter a new line of code in any .js file, it goes thru and reformats all of the JavaScript braces. I've found where in ReSha...

After installing Visual Studio SP1, LC.exe can't be found by the build. Solution?

After installing VS Sp1, the build breaks as it can't find LC.exe (to run on top of license files). Seems like SP1 don't install LC.exe I found in this MSDN forum post and the solution I found is, I should install Windows SDK. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/93fe03a0-117c-406e-b0ea-c2e2227e1835/ Microsoft ...

C#: How can i elegantly and or simplistically make cross threaded calls?

i have a tcp server that, when a client connects, it makes a new thread and adds them to it but everytime i try to access information about the connection or anything about it, say even keeping a count of how many clients are connected, i get a cross-thread illegal exception or something like that. ive read several tutorials on things c...

Can you group unit tests within a single testproject in VS2008?

Can you group unit tests within a single testproject in VS2008? For instance - test1 and test2 belongs to group A. Test4 and test5 belongs to group B. I don't want the tests in group B to run unless I explicitly select them. This is because not all tests are supposed to be included in the automatic testing. EDIT : Rephrasing second pa...

TFS Client API - Query to get work items linked to a specific file?

We are writing a custom tool using TFS client APIs, to connect to TFS, to fetch work items for a project etc. We are querying the work item store, using WIQL. Given the server path of a file, what is the easiest query to get the work items linked to this file from TFS? ...

IS it possible to open a *.sln file created using Microsoft Visual Studio 2008 in MS VS 2005?

I have a workspace (*.sln, *.vcproj) files which are created using MS VS 2008 edition. Is tehre any way to convert them to open in MS VS 2005 edition. I have some errors in creating a new workspace with the source/header files. Because it has some resource files, included, some dll included. So assuming this option is ruled out, then ar...

Include all files when debugging in Visual Studio?

How do I setup Visual Studio 2008 to include all files in the project root when debugging? I have a few files in the project root folder which are not copied to the bin/debug folder so when I am about to debug the application I have to manually copy the files. I'm looking for a way to make VS automatically include these files in the deb...