visual-studio-2005

Visual Studio 2005 hangs when opening markup files

I'm working on a web application project in Visual Studio 2005 and as of the last day or two every time I open any markup file (ascx, aspx, etc) Visual Studio hangs and never recovers. If you try to click anything in the UI - code, menus, close window 'X' - I get the tray icon telling me that Visual Studio is busy and to continue waiting...

Precompiled headers with DLL solutions. Cannot open precompiled header file

This worked without error when this solution worked off of .lib files instead of .dll files. I have all of my projects except one currently using a precompiled header, without error. The precompiled header is called "LudoGlobal.h". I am trying to link the last project to this precompiled header (which exists in a seperate, "Core", p...

vb2005 crystal reports : Name 'CrystalReportViewer1' is not declared error

I'm running through this tutorial found here: http://vb.net-informations.com/crystal-report/vb.net_crystal_report_from_multiple_tables.htm which teaches how to pass a parameter text field on a vb form to an embedded Crystal Report in visual studio. I've followed it all the way through however when I attempt to build, I received the ...

Are There Any Significant Changes in Localization Features Between VS2005/.NET 2.0, and VS2008/.NET 3.5?

We have a non-localized WebForms app written in VS2005/.NET 2.0, and are looking to localize it. Are there any significant changes between .NET 2.0 and .NET 3.5 in the area of localization (either framework features or Visual Studio tools) that would make it worthwhile for us to upgrade the project? ...

visual studio 2005 problem with windows flying open

I'm going through the problem of setting up a new computer and I'm having a problem with VS 2005. Whenever I start debugging all the windows (properties, watch, errorlist, stack, ...) pop up all over the place undocked. At this point I've tried docking them and closing them. When I stop debugging more windows pop up all undocked. Thi...

.Net Compact Framwork 2.0: Deploying an app

I was used to building on .Net Compact Framework 1.0 with VS 2003 where you had the option to "build CABs" for your project, which is handy because I am sending the app to a remote site. Now this project was rebuilt with VS 2005 and I don't have this same "build CABs" option. Is the deployment model with VS 2005 just to send the conten...

Cannot open include file "AIUtilities.h": No such file or directory. But it exists?

I have a two projects, AI and Core, which used to hold a circular dependency. I have a CoreUtilities file that I have broken up to remove this dependency, and added the functions I have removed to a new file called AIUtilities(.cpp/.h). I then went to the piece in my AI project that uses these functions and added #include "AI/AIUtili...

The procedure entry point could not be located in the dynamic link library Core.dll.

I am converting my project to use DLLs and am trying to break apart my Singleton class to avoid using templates. My class, LudoMemory, originally inherited from Singleton. I am trying to give it the functions to destroy and create itself now and have my main engine not rely on the Singleton. I have written a simple destroy method li...

Easy way to concatenate list of strings into a comma-separated strings, where strings are members of an object?

Say I have a List(Of Tag) with Tag being an object. One member of Tag, Tag.Description, is a string, and I want to make a comma-separated concatenation of the Description members. Is there an easier way to do this than to read the Description members into a List(Of String) and then use the Join function? Thanks! ...

vcredist_x86.dll and version 8.0.50727.4053

Hello, Visual C++ 2005 I build on my system use CRT DLLs version 8.0.50727.4053. I believe it is the latest one and was automatically updated by Windows. On user systems, this version of the DLL is not found. I have used vcredist_x86.exe in the past as a part of our installer to install runtime DLLs. It used to work. My problem is tha...

Unable to make request using SOAP to a webservice

Hi, My requirement is that I will have SOAP data in XML.I will read from the file, and then send request to a webservice.Then, I need to write the response to a file. I am using vs 2005. XmlDocument doc = new XmlDocument(); doc.Load(@"path to xml file"); HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www...

How to speed up serialization code?

I have the following code that serializes a List to a byte array for transport via Web Services. The code works relatively fast on smaller entities, but this is a list of 60,000 or so items. It takes several seconds to execute the formatter.Serialize method. Anyway to speed this up? public static byte[] ToBinary(Object objToBinar...

Visual Studio Just-In-Time Debugging Annoyances

Hi, I have a solution comprising of about 6 projects, and when I debug on one machine, any un-handled exceptions that occur cause the environment to break at the point that exception is thrown, allowing me to debug it. However, on a different machine with the same solution (in the same version of VS), all I get when an exception is ...

How to not overwrite exsiting config files with websetup

Hi, Is it possible to configure a WebSetup project to not overwrite config files? Why? We have several websites that runs in both staging and prod and I would like to have one installer instead of one for staging and one for prod. /Carl ...

cmake: How to make a script for copying Data files accompanying my program

I am trying to automate my build process with cmake. There is currently only one issue: Where is, in cmake's philosophy (if there is one), the best place to put the copying of data files. I have a library and a few examples. The examples need the data. I currently do the following: I use a custom command in each example's CMakeLists....

Why can I not enable breakpoints in Visual Studio 2005?

I have seen that sometimes breakpoints cannot be enabled in Visual Studio, they appear as empty circles, with a warning sign when enabled. This icon change is all the information VS gives. Particularly I'm suffering that in a Windows CE 6.0 project where I cannot enable any breakpoint in any of the sub-projects or in the OS design. The ...

VSTO in Excel: The customization does not have the required permissions to execute.

At the very beginning. Created a new Excel Workbook from VS2005. Try to save it? Cannot access the .xls file. Try to run it? same error, plus the customization permissions error in the title. Where do I set the permission? EDIT I've read a few SO questions and answers around this and it all seems terribly over-complicated. Give me...

ml64 - warning A6004: procedure argument or local not referenced

I have a function written for th e x64 microsft macro assembler in visual studio 2005. The function recieves 3 arguments: theFunction PROC firstP:QWORD, secondP:QWORD, thirdP:QWORD the x64 calling convention state the the first 4 arguments will reside in registers rcx, rdx, r8 & r9. When I'm using the arguments in the function, I'm re...

VS 2005 doesn't detect changes in header files of C++ project

Very often, actually most of the times, Visual Studio2005 doesn't detect that some header included in some CPP file C++ project was changed. As the consequence, it doesn't recompile the project if only header is changed. It doesn't depend on the "precompiled headers" settings. It doesn't happen in VS 2006 but in every version of VS 2005...

Read and Step into .Net Framework Source Code with VS 2005

I did ask whether this was possible in VS 2008 which was answered in http://stackoverflow.com/questions/1296840/read-and-step-into-net-framework-source-code. However my problem is that I am using 2005 and not 2008. Does anyone know whether this is possible please?? The reason I want to do this is to better understand C# paradigms. Wit...