visual-studio-2005

how can I change registry values at installation time with windows installer?

Hi, I have created a deployment project using VS 2005. By default, files are installed in AppDataFolder. There are also 2 string values added to the registry during the installation. These registry values represent the path to some dll files found in the install dir. When the user chooses the default installation directory everything wor...

how to access files in a resource dll

Hi, I have created a resource DLL for an IE addon with Visual C++ in Visual Studio 2005, but I cannot access the files (html and icons) within the DLL. I tried with and without a resource file but I still haven't been able to access them. the /NOENTRY option is set, since it is a resource dll. to access the resources I use a path similar...

How can I view the elements of a System::ComponentModel::BindingList while debugging

I am using Visual Studio 2005 where my code is a mix of C++-CLI and C#. I would like to be able to view the members of a BindingList at a breakpoint while debugging. Currently, I cannot find where the actual elements are stored via the watch browser. Is this possible? ...

VS View memory window

When my c# application breaks the Debug + Window menu does not show an entry for Memory window. The menu has items for Breakpoints,threads,locals, watch and callstack. How can I enable memory window. I use VS2005 and VS2008. Both has the problem ...

How do I disable quoted identifiers when scripting out SQL Server database objects in Visual Studio?

Hi, I'm using Visual Studio 2005 to script out a database so that I can put it in subversion. Now one complaint that I have is that it puts my stored procedure code in a single literal string, like in the example. below. /****** Object: StoredProcedure [dbo].[MyStoredProc] Script Date: 08/19/2010 16:40:14 ******/ SET ANSI_NULLS ON...

See function for symbol search in Visual Studio 2005

I'm currently editing a good sized class in C# that has a ton of properties, many of which I suspect are just local variables used by a single function. Hence I'm in a mood for some refactoring. Is there a way to customise the search results on a "Find Symbol" search to give more information, like the function where a symbol appears (an...

Correct ~*e !clrstack Problem

When I issued the following command from VS2005 immediate window, it failed with error message "End of expression expected". How can I correct this? ~*e !clrstack ...

Web.Config file corrupting on publish

So I've just started up my most recent website: http://EpicClanWars.com and it would seem that every 5th or 6th time I publish my project out of VS 2005 the Web.Config file corrupts and loses its connection string to the database and a nasty exception gets thrown stating that the web.config file does not contain the connection string th...

resizable form in visual studio 2005 can only be made bigger, not smaller again

hello, I'm working on an old project from an other developer, and can't get something solved ... I have a form in visual studio 2005 which is resizable. But when I resize at runtime, it only allows me to make it bigger, not smaller. It has nothing to do with minimumsize, because after making it larger, I also can't return to the origina...

Current Directory in XML

Hi, I am converting some environment variables to property sheets for some C++ projects. This way when the projects are used from the branch or the trunk in SVN we don't have to use a junction to switch between the branch and trunk. My property sheet, paths.vsprops, is in this format: <?xml version="1.0" encoding="Windows-1252"?> <Visu...

Zoom in in visual studio 2005

Is there any option to zoom in or out in visual studio '05. Upgrading to '10 isn't an option here. I miss being able to look close up when I need it. From what I can tell there is no native support, are there any ways to trick it into zooming? ...

RichTextBox scroll

I'm not sure what is going on with a RichTextBox in a Visual Studio C# windows application. This is not a web app. I have a procedure that processes several files. As it processes, it posts progress reports in the RichTextBox using AppendText. (The additions have newline chars which keep things neat.) This procedure was migrated from on...

error while using crystalreport in website

hello, i have a strange problem.i want to use crystalreportviewer control...but once i drag it to my page and choose the crystalreportsource and the report.i find crystalreportviewer become like this.what can be the problem??? thanks in advance ...

Most maintainable method to share code between multiple projects

Given multiple websites all running the same sourcecode, what's the best/most maintainable way to organise these into projects within visual studio? For example, say we have websites Red, Blue, and Green (etc). Their HTML may be different, but they are a functionally the same. Previously in one solution we have created one project Col...

Visual Studio 2005 Add-in Project Template

I am trying to find a way to develop my own Add-in in C# for Visual Studio 2005 at home, but I don't have the template that comes in the full version of the VS2005. If I get the template, can I compile it on the Express edition? Does anyone have it? Where can I find it? ...

Ignore an entire directory in Visual Studio before a build?

I currently have a project I am building in Visual Studio 2005 and I need to be able to build the part of the project some of the time with directory A and sometimes with directory B and never both. If you right click a file (foo.f) --> Click Propeties --> you can change the "Exclude File From Build" from NO to YES and the project will ...

Why is loaded dll missing in Visual Studio's modules list?

I am currently bug hunting and need to debug into a specific dll in the release configuration in Visual Studio 2005. At some point I closed the solution, did some other stuff and reloaded it. From that point on my breakpoint doesn't get hit and I get the infamous "No symbols have been loaded..." message. So I opened the modules window an...

mfc42u.dll Error while migrating from VC6 to VS2005

I have migrated my VC6 application to VS2005, all my code got compiled with some changes and there is no compilation error. But I am getting a linking error LNK1104. LINK : fatal error LNK1104: cannot open file 'mfc42u.lib' I have imported the dsw of VC6 in Visual Studio 2005, not sure from where it is still referring to the mfc42u.lib ...

Visual Studio 2005 SP1: Manual intellisense update

Is there a method to manually update the intellisense when the project has been loaded? I have a huge project loaded and I won't be able to reload the entire project just to update intellisense. Thanks. ...

Visualize custom floating point class in debugger

I already did some fiddling in autoexp.dat to ease the inspection of custom string and other simple classes in the Visual Studio debugger (using vs2005). I'd really love to directly see the value (or approximation) of our custom floating point class. The internal representation is a quad-integer (int mantissa[4], 128bit on x86) that will...