visual-studio-2005

VS2005 freeze and disk thrashing when opening designers in C# projects?

In some projects, but not all, when I open a designer for the first time (either WinForms or typed dataset) Visual Studio thrashes the disk for up to 30 minutes while freezing (this appears to be reads and writes with between 100 and 140 pages\sec). Once it has done it the first time for a project, it's fine opening other projects until ...

Visual Studio voice commands

Hey, you know how Iron man was using voice commands for his IDE in the movie? Are there any visual studio plugins that can do that kind of thing? If not, how do you go about making them yourself? ...

Webservice in Window application Visual studio 2005

Can we add webservice(.asmx) to window application.When i go through File->New Project-> i cant see webservice template for addind. But in File->New Web Site(for window application) we can easily add webservice But when you go through this link codeproject.com/KB/webservices/… ,,there they are adding in window application side means Fil...

application failed to initialize properly (0xc0150002)

my mfc application created in visual studio 5 running on windows server 2000 sp4, i create a release for it and try running it win xp slp2. it gives me application failed to initialize properly (0xc0150002) i have tried following things -Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) the one that comes within the ...

Change VS2005 default debug window

When I load up my MFC C++ app in VS2005, the IDE always defaults to the command window. How do I make it switch to the Output or Immediate windows by default? ...

Load only once the tables when you update their views in VS2005

I'm using two tables from a MySQL db (let's call them db1, db2) and I have to display different views for them that are linked with each other with nested relations (using VS2005 + ADO.NET Connector). What I have been doing till now was adding new table adapters for each different view, many of which contain a lot of IF statement and gen...

MSBuild requires 3 times the memory of Visual Studio for a clean build

We have a Visual Studio 2005 solution with 50 projects (mostly class libraries and some Win Form projects). Doing a clean debug build with a freshly started Visual Studio peak memory usage (recorded by task manager) shows about 500mb. Doing the same build (clean, debug) with MSBuild the peak memory usage is about 1600mb and it eventual...

Eclipse-like features in Visual Studio

Eclipse-like features in Visual Studio I really like the feature where you can double click (select) a variable and it is highlighted through out the page (Can see all the instances of it). How can I get this feature in visual studio (2005 or 2008 or other)? Is there an option or plug-in to turn this on? I am sure there are features in...

How to make OpenGL apps in 64-bits windows

OpenGL experts, My project compiles, link and run in xp32 then I tried to cross compile it to x64 and I came across a lot of questions. There's no native x64 instalable OpenGL SDK so I link against what? I saw someone saying that x64 apps use 32bits opengl dll. I tryied to run my compiled 64-bits app in a xp64 with drivers to my video...

Is it allowed to link rtti enabled DLL within rtti disabled application?

I have a solution to build a DLL with run-time type information enabled in its project properties. This is the default (/GR) in Visual studio 2005. In our library we have a good few dynamic_casts, so I'm not able currently to build the DLL without run-time type information. Now my customer is using development tools from Dassault Systèm...

Microsoft Office Interop Assembly references.

I have an application developed in Visual Studio 2005 which I am deploying using ClickOnce. My solution contains two projects - a user interface layer coded in VB, and a class library coded in C#. My C# class library has some code that uses the Outlook and Excel Interop Assemblies (Microsoft.Office.Interop.Outlook and Microsoft.Office.I...

Publish error VS2005 win forms app.

Hi, I am trying to publish to a FTP site using VS2005. This worked before and now having come back to it some months later dos not work. The error is Error 3 Could not find required file 'setup.bin' in 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Engine'. I also get this warning Warning 2 Item 'Microsoft.Net.F...

put application version in shortcut

Hi all, I'm trying to put the application version number in my shorcut (when you got to start -> all programs you see myapp 1.0.1). I tried to add [version] and [Productversion] to the shortcut name in the setup project but that doesn't work. Regards, Stijn ...

Visual Studio 2005 macros won't run

I'm trying to run the Visual Studio 2005 sample macro that attaches the debugger to calc.exe. Neither it nor any other macro seem to do anything when I run them. Calc.exe is running. "Tools->Options->Add-in/Macros Security->Allow macros to run" is checked. The error list shows no errors. ...

Visual Studio not debugging

Hi guys I have a problem that has lately being bugging me on 2 different computers What is happening is that I press F5, to compile my website, the website loads, but I cannot debug! Its like I am not running the website from visual studio at all. And then sometimes I restart my PC, and it comes back to normal. I have no idea what is t...

Building log4cxx on visual 2005

Hello, When I build the log4cxx on Visual 2005 according to instructions http://logging.apache.org/log4cxx/building/vstudio.html, I am getting error below; 1>------ Build started: Project: apr, Configuration: Debug Win32 ------ 1>Compiling... 1>userinfo.c 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcndr.h(145)...

Attribute List for ASP.Net controls not showing in Visual Studio

In Visual Studio 2005 in the html source view, the attribute list that drops down showing you all available properties of an ASP.Net server control is not showing for me. I have to manually type in each attribute name with no list to choose from. I have been unable to find a setting that turns this on and off. I have reset my Visual S...

Visual Studio 2005 application portability

I am creating an application (VS2005, C++ Forms application) that is supposed to work on many different machines that won't have any version of Visual Studio and I am wondering what I should worry about. I am using the Mysql connector, so apparently the machine running it will need to have some compatible version of MySQL, but appart fro...

Why does "open containing folder" not work when I run visual studio as a different user from the one I log in as.

I just asked and answered the general form of this question for explorer on superuser, How do you run windows explorer as a different user?. When I run Visual Studio I often right click on a documents tab and select "Open Containing Folder." However, this does not launch explorer if I run Visual Studio as a different user than the one I...

How can I get Visual Studio 2005 running on Windows 7?

Vista's user account protection caused problems with Visual Studio 2005, and Microsoft addressed this with the Visual Studio 2005 Service Pack 1 Update for Windows Vista. I'm having similiar problems running VS2005 on Windows 7, but I can't find any info from Microsoft directly addressing this. Should I just install the Vista service p...