visual-studio-2005

Multiple 'development servers' started by Visual Studio

Occasionally, when performing certain actions in Visual Studio, things seem to go 'haywire' - Visual Studio launches many, many instances of the 'Development Server' - multiple icons appear in the notification area, multiple successive 'toast' notifications pop up etc etc. Both of the solutions I have this problem with contain two web p...

How do I copy files to another directory using MSBuild?

I'm trying to copy several files in the $(TargetDir) to another folder (e.g. C:\BinCache), but for whatever reason I cannot get MSBuild to stop complaining. <Target Name="AfterBuild"> <Copy SourceFiles="$(TargetDir)\*.*" DestinationFolder="C:\BinCache" /> </Target> What am I doing wrong here? EDIT: The solution is t...

C# code to copy all the tables from one mdb file to another mdb file

Hi how to copy all the tables from one mdb file to an other blank mdb file using C# code can anybody please help with the code? Hi Thanks for the file copy suggestion but after executing that query am getting this error" Error 1 Invalid token '(' in class, struct, or interface member declaration C:\Documents and Settings\E4578...

How to add a conditional breakpoint in Visual C++

I want to add a breakpoint condition to my code in VC++ Express 2005, so that the breakpoint only triggers if a local variable meets a specified criteria. e.g. bool my_test(UIDList test_list) { foo(test_list); bar(test_list); // I have a breakpoint here, but only want it to trigger if test_list.Length() > 0 print(test_list);...

Strange error while executing a C code in MSVC 2005

Hi, I am facing following quirky error. I have a workspace in MSVS2005 of all C code. I have declared a global variable in one C file.(file1.c) This file has function main() in which, I initilaize the value of that variable = 0.In other C file(file2.c). From main there is a function call to a function(func1 in file2.c) which sets the ...

How do we setup a SharePoint dev environment with VSeWSS 1.2 and Source Safe?

Does anyone use the MS SharePoint Solution Generator and VSeWSS 1.2 in a multi-developer environment with source safe? We are having issues re-deploying (because it doesn't really upgrade the solution with stsadm). It keeps saying the same feature is already installed - which it is, but it should retract the feature and re-install it -...

Running MSIL inside Visual Studio

We have Visual Studio 2005. I can successfully run MSIL programs from the command line using "ilasm". I would like to be able to run these inside VS. From other posts and searches, I gather you need to create a "Console Application" type of project? (They allude to the fact that VS can handle MSIL but I can't find any specific "how to...

Linker problems after switching to VS2005 from VC6 (LNK4099)

Hi, I ported one of my old projects to VS2005 and am having linker warnings such as xxxxx.lib(xxxxxxxx.obj) : warning LNK4099: PDB 'vc60.pdb' was not found with ...; linking object as if no debug info Now, I've tried rebuilding the project but the warnings won't go away. Is it really supposed to be looking for vc60.pdb and not vc8...

How do you tell the Visual Studio project type from an existing Visual Studio project

Using Visual Studio 2005. Is there anything in the .sln or .vcproj files (or anywhere else) that defines the project type / subtype? Edit: What I mean is that when you create a project, you first choose a language (e.g. Visual C#), then a project type (e.g. Windows) and then a subtype (e.g. Console Application). Where is this informa...

Removing a control in Visual C++ 2005 (MFC)

I have a MFC dialog in Visual C++ 2005, (MFC Application) and I have added several controls to it. But Visual Studio has no option for deleting a control if I no longer need it. Is there any easy way to do that except modifying all the code where a reference to the control appears? ...

Is there a way to check if all defined functions are called?

Is there a way to figure out if every function defined in code is called somewhere? I have been doing a major code update to a large project of mine and I want to make sure the old functions that are no longer used are removed from the code. Is there a better way then searching for each function in the solution? ...

Why can't I debug from Visual Studio 2005 after installing IE8?

I've just installed IE8 (final) and restarted. I can no longer debug Web Application Projects using Visual Studio 2005 on Windows Server 2003 Enterprise R2. I get the message "Internet Explorer cannot display the webpage" and then WebDev.WebServer.exe quits with no visible error message and nothing in the Event Viewer. Does anyone have ...

Crsytal Reports: VS 2005 Deployment

Hi I am using the CR that was included with VS 2005. It works fine locally but when I deploy to my production machine I am getting the following error: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The syste...

Visual Studio 2005 SSRS Report Preview Problem

I have a report developer that is having some trouble with their Visual Studio 2005 SSRS IDE. The reports in question have mulit-select report parameters. When they click on "Preview" for the report all the options are selected in the drop-down, but they don't have a "Select All" option to check or un-check. Have any of you seen this b...

Is there a Visual Studio C# equivalent of the Visual Studio C++ Makefile project

In Visual C++ inside Visual Studio, one of the project subtypes is a "Makefile" Project. But there doesn't seem to be an equivalent for Visual C# inside Visual Studio? BTW, a Makefile project is: "If you have a project that you build from the command line with a makefile, then the Visual Studio development environment will not recog...

how to disable Just in time debugger from visual studio

Uninstalled Visual studio and all its components from the add/remove programs. But now each time something crashes, it pops up the just-in-time-debugger which seems to be a remainder from visual studio... How to remove it once VS is uninstalled ? Found out that one can disable the popups by deleting the following keys HKEY_LOCAL_MA...

Solution Folders and Toolbox Items incompatible?

In Visual Studio 2005, I've recently reorganized a solution with over 30 projects into 5 solution folders. However, since I've done that, all the custom controls and user controls from my assemblies have disappeared from the WinForms Toolbox. Has anyone experienced this? Are there workarounds? Is this fixed in Visual 2008? I've tried to...

Where is the 'Autos' view in msdev 2005 ?

When debugging in msdev 2003, there is a very convenient 'Autos' window that show vars and values around currently-executed line. I cannot find anything similar in msdev 2005. Is it dead? ...

Index of x Recurring Character

The following code is supposed to show in a message box the index of the third a in the string checkme, but when I run the program it doesn't give me the right answer (should be 12, instead I get 9). What am I doing wrong and how would I go about making it work? Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System....

Problems opening solution file in Visual Studio 2005 running under Parallels

I wrote a simple program in C# on Visual Studio 2005 on a windows machine at work. I tried to open the solution file at home in Visual Studio 2005, inside of Parallels, on my mac and I get the error: Unable to read the project file 'filename.csproj'. Invalid URI: The hostname could not be parsed. Does anyone know a way to fix this? ...