visual-studio

Is this laptop good enough for Visual Studio?

For HP 2133 Mini: 1.2 Ghz CPU 1 GB RAM Windows XP 5400 RPM HDD I'm planning to install Visual Studio 2005 (assuming it's faster than 2008). I've seen http://stackoverflow.com/questions/8440/visual-studio-optimizations question so I'll take those into the account. But do you think Visual Studio 2005 is going to work in an acceptable ...

Data Generation Plan error

When I attempt to run the data generation plan I get the following error, but there are no columns to be deleted. The column XXXXX has been deleted and was previously selected for data generation. Any help on this error would be appreciated. Thanks ...

How to change Visual Studio Auto Format

Is there any way to change Visual Studio Auto formatting options? Like VS by default uses close bracket format for Javascripts. ...

Team System "Not Downloaded" when it is downloaded

Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project with several code branches and several subfolders, solutions, etc. below each code branch. In one particular branch, I have a folder with 3 subfolders. One of the folders is marked correctly as "Latest: Yes". However, the other two are marked...

DataGridView ToolTipText not showing

I have data bound DataGridView in a desktop app with columns that have their ToolTipText property set, yet no tool tip is displayed when I hover over grid view (cells or cell headers). The ShowCellToolTips property of the grid view is 'true', and I have verified using break points that it is not changed programatically before I mouse ov...

Catch block not catching exception

...

Adding xml comments to methods, properties, etc quickly in vs 2008

Hello, Assume I have 10 Methods and 10 Properties. Is there a way to add the xml comments (///) to all 10 Methods and 10 Properties at once in VS 2008 or do I have to type /// for each one. ...

Why does Visual Studio 2005 take so long to update my VSMDI file?

Hi, I am using a solution with many projects in Visual Studio 2005. Unfortunately we are using the testing tools. My problem is that a lot of the time when I open up Test Manager by double clicking on my VSMDI file to do some testing, I get the hourglass for at least 10 minutes while Microsoft's horrible code does god-knows-what, I gues...

Visual Studio add-on gallery?

i'm hoping to find some add-ons for Visual Studio to address some specific usability issues. Is there a Visual Studio addons gallery that contains a huge dumping ground of addons that every person, company, yahoo and hick have created? Kind of like Vista Sidebar Gadget gallery, but for addons. Kind of like CodePlex, but for addons. Is...

Adding the same comment to every code file in a Visual Studio solution

Background: We are using VS 2008 and are in the process of upgrading from TFS 2005 to 2008. We have a solution that contains several projects and overall have hundreds of code files. We want to add the same text as a comment to all of these files (a copyright message). Does anyone know of a quick/easy/efficient way to do this? Also, ...

When virtual doesn't work

I have a weird error in my C++ classes at the moment. I have an ActiveX wrapper class (as part of wxWidgets) that i added a new virtual function to. I have another class that inherits from the ActiveX one (wxIEHtmlWin) however the ActiveX class always calls its own function instead of the one in wxIEHtmlWin which overrides it. I can't w...

Send HTTP request from VC++ file

Hi I am trying to send an HTTP request with the contents of a file set as the body of the HTTP request and want to get the response from a server using VC++. Any help is appreciated. Thanks. I think I was not very clear with what I wanted to do or I misunderstood the answers. Neways, what I want to accomplish is, one of my web-service...

Is it possible to enable ClearType on Visual Studio only?

I really like how Consolas looks with ClearType enabled but unfortunately it makes everything else look terrible. Is there any way to enable this on a per app basis? I noticed that putty (the terminal emulator) has options for ClearType separate from the display setting. ...

how do you add an existing directory tree to a project in visual studio

So the issue is simple really, instead of creating folders in visual studio, i create a directory structure for my project on the file system. How to i include all the folders and files in a project, keeping the structure? If i "Add Existing File" on a folder named Services and navigate to a file in the directory structure .. Services ...

Unable to add a Service Reference to any WCF Service

I'm using Visual Studio 2008 SP1 on .NET 3.5 SP1 on Vista Any time I try to add a Service Reference to any WCF service I get an error that says "Could not load type 'System.ServiceModel.FaultImportOptions' from assembly 'System.ServiceModel,Version=3.0.0.0, Culture=neutral, PublicKeyToken=..." This happens when I try to connect to eith...

How Can I add additional functions to Visual Studio's Server Explorer?

I am trying to write simple Visual Studio Add-In for code generation. In my solution explorer window there is a database connection an I want to get table names from this active connection.How can I do this? ...

Using cmake to generate visual studio C++ project files

Hi, I am working on an open source C++ project, for code that compiles on Linux and Windows. I use cmake to build the code on Linux. For ease of dev-setup and political reasons, I must stick to visual studio project files/editor on Windows (I can't switch to Code::Blocks, for example). I see instructions to generate visual studio files...

Visual Haskell 2008

Is Haskell for Visual Studio 2005 compatible with VS2008 SP1 ? ...

Tools, Visual Studio Setting to check uninitialized class members

I am porting a big and complex c++ server from Solaris to Windows. I am facing lots of trouble due to uninitialized member variables. On Solaris they get set to 0 value by default hence things work fine. But, on windows those member variables get garbage values assigned creating mayhem in the system. Code base is too huge to manually ch...

How do you get a minimal SDL program to compile and link in visual studio 2008 express?

I'm trying to use SDL in C++ with Visual Studio 2008 Express. The following program compiles but does not link: #include <SDL.h> int main(int argc, char *argv[]) { return 0; } The link error is: LINK : fatal error LNK1561: entry point must be defined I get this regardless of how or if I link with SDL.lib and SDLmain.lib. Defin...