visual-studio-2008

Problem with "add reference" under Visual C# 2008 Express Edition after switching from XP to Windows 7

Hello everybody, I suddenly have a big problem I didn't have before. In my current project, I want to add a reference to "Microsoft.Office.Interop.OneNote". When I open the .NET tab of the "Add Reference" dialog, the "Microsoft.Office" assemblies aren't available like they used to be; on my machine, the next assembly after "Microsoft....

How to add statusbar correctly?

Currently it is floating on top of my rendered window, i dont think thats good for few reasons: 1) i waste rendering time for rendering stuff that isnt visible. 2) it must be rendered every frame again when i wouldnt be updating the whole statusbar every frame anyways. So how i could create a window where it leaves space for my statusba...

anyone know how to add command line args in vs2008

i have a program that runs like so: a.out 23421232 now if i use a.out it will tell me check params and gives an example and closes. I am curious if there is a way to add command line args when executing my code in vs2008? ...

How can I get a reference to an output stream that writes to the Visual Studio "output" window?

I have a third-party .NET library that enables output of some key diagnostic information to a TextWriter instance. I'd like to have this information dumped to the output window of Visual Studio 2008 while in debug mode and ignored if not in debug mode. Is there any way I can get a reference to an output stream that uses this output win...

Microsoft TFS Build Automation - ASPNETCOMPILER error

I'm trying to get the build automation going for our TFS solution. The solution contains multiple class libraries, and one web site (not a web project). Everything seems to build fine, except for the web site. I'm getting the following error: ASPNETCOMPILER : error ASPRUNTIME: The target directory is not empty, and does not appear to co...

msvsmon is locking up my pdbs

During developement of my media center plugin (which has a few custom build steps to gac stuff and such) msvsmon has a rather annoying behaviour. First compilation usually goes well, but subsequent compilations complain about myplugin.pdb being locked Error 1 Unexpected error creating debug information file 'C:\Users\sam\source\m...

Program crash in x64, works fine in Win32

I'm working on an application which builds and runs fine in Win32. However, in x64, it builds but crashes on run. Looking at the code and narrowing down the problem, if I comment out the call to the below function, it runs with no problem. void vec3_copy (double* v1, const double* v2) { v1[0] = v2[0]; v1[1] = v2[1]; v1[2] = v2[2];...

A good Book on Team Foundation Server?

Hi: We are starting to implement a small group of developers (4-5) using TFS 2008. Do you know a good manual? Free (as in beer) if posible. Thanks in advance. ...

How do I start WebDevServer from a .sln file without opening Visual Studio 2008

Is there a way to start WebDevServer (Visual Web Development Server) by passing in the .sln file without actually opening Visual Studio 2008? I am a JavaScript developer and I work in a client project and I want to save the memory overhead consumed by VS and give it to multiple browsers for cross-browser testing. I am hesitant with set...

vb.net vs2008 empty executable

Is it possible to compile a vb.net project into an empty exe file (only containing the header information like version number, company, product name etc) in VS2008? ...

Cant compile Boost C++ Network Library 0.5

Boost Network I am trying out this code in a small console app on windows (VS2008) but cant compile it. Have linked to the boost.system library. Am i missing a header, #define or another library? Headers #include <boost/network/protocol/http/client.hpp> #include <iostream> Errors using native typeof 1>c:\dev\3rdparty\boostproposed...

How can i get IP Address of my 3G modem?

My GPRS modem has got a sim card. it can connect Web. Web service give it a ip number. i need it. like that: http://www.your-ip-address.com/ How can i do that C#? ...

MSBuild, build dependant projects with different configurations

I've a (C++) solution with a Tools project and a Main project. Main depends on Tools. I can build this project easily using MSBuild with e.g. msbuild /t:configuration="Release" Main.sln The Tools project only have the "Release" and "Debug" configuration. The Main project also have a "Release Lite" configuration - from within Visual S...

Visual Studio 2008 Standard: No Windows Service project

I own a copy of Visual Studio 2008 Standard Edition, and I'd like to create a Windows Service. However, I don't have a Windows Service project template. According to this chart, Standard Edition should be able to create Windows Services. I tried running devenv.exe /InstallVSTemplates, but I don't seem to have any of the Windows Service t...

Where I can find the appWizard that can generate C++ application

Hi, I have an project to modify. This project was create with AppWizard many years ago. This generated weird code when I open it with visual studio 8. I would like to modify the interface. Can I find a free AppWizard. Thanks, ...

reading an event log

i am trying to read from the event logs on the server.. my current code is working.. but my worry is when there are thousands of entries in the events, will it take longer to load the page?? here is my working code ArrayList chromeEntries = new ArrayList(); EventLog eventLog = new EventLog("Application", "."); foreach ...

Debugged Program Window Won't Close

Hi, I'm using VS 2008 on a 64-bit XP machine. I'm debugging a 32-bit C++ DLL via a console program. The DLL and EXE projects are contained in the same SLN so that I can modify the DLL as I test. What happens is that every once in a while I kill the program with Debug | Stop Debugging (Shift-F5). VS stops the program, but the console win...

How can you include/reference a file in a project without copying it to the project directory?

I am writing an application in Visual Studio 2008. I have a help file that I want to be included in the output of my project. I want the most recent version of my help file to stay in a folder that is not my visual studio project directory. For example C:/Helpfiles. I want to include this file in my Visual studio project so that when I ...

Format CSS file (compress/uncompress)

Hi there, I want to format my css files used in my web project. Formatting means: Compress/Uncompress CSS file Example: *{margin:0;padding:0;}body{min-height:101%;font:69%/141% Arial,Helvetica,sans-serif;color:#2d3742;} to: * { margin: 0; padding: 0; } body { min-height: 101%; font: 69%/141% Arial,Helvetica,sans-serif; ...

VS 2008, is there a way to search properties like the old vb6/EVB? CTRL+SHIFT?

I really miss the CTRL+SHIFT+CHAR searching of a property in VS 2008 that older IDE's had... typing CTRL+SHIFT+T got you to "tabindex" then Tag when pressed again. They dropped it in VS 2002 I believe, and the closest I could find to restoring any functionality like it was acorn's property window filter, which isn't exactly functional. ...