I am new to Windows environment of development. I see a lot of .rc2 files used where a mapping is performed against some MACRO type constants to strings.
Q1. Why are these .rc2 files used?
Can someone give me a start on these.
...
In a single solution, if I have the same source file present in multiple projects (with different project settings, e.g. different #defines), Intellisense and all the features depending on it seems to arbitrary pick one of the project settings when I edit the source file.
How do I get Intellisense to switch which project settings it use...
I am using VS.NET to attach to a process, the process has a lot of DLL loaded, I built one of the DLL and try to set a breakpoint inside my DLL. I click "New Breakpoint" and type my function name Func_A and checked the "Use Intellisense to verify" box. Then I click OK but the VS.net complains that it can't find the function.
When the pr...
Hello,
I am running Visual Studio 2005 on Windows XP. It crashes without any error, log or trace when I try to load the solution for our product that contains 362 projects. I don't think the size of solution (362) is a problem, because it works on my colleagues computers. There is no entry of this in Event Viewer.
Any help to locate ro...
I am debugging a minidump in WinDbg and the Visual Studio 2005 debugger and they produce different results.
WinDbg gets it wrong
When doing KP in WinDbg, the relevant part of the stacktrace is:
0bb6ef30 0a4a25b8 MyModule!SomeClass::methodB(
void * buffer = 0x05d8d800,
int bufferLen = 1797233953,
...
Hi All,
I have created a VSTO visual studio application in Visual Studio 2008. It's working fine and I wanted to create a installer for the same using Publish option. Now, I see that it creates the installer with Microsoft office SDK (194 MB) part of the installer. i don't want the client or my customer to install such a large componen...
I have the application using an .ico image for the taskbar and window, but how do you set up the .exe to use an icon?
While on this subject does anyone have any resources on how to work with ico images? As in what size does the start bar use, and so forth?
From what I can find there are tools out there to assign .exe's icon images but ...
What version should I download? I only see VS 2008 x86 and some "WOW64" stuff on MSDN. Will "Visual Studio 2008 Professional Edition (x86)" work?
...
I want to register/unregister my project's assemblies in the GAC using Visual Studio's Setup installer project.
I am thinking of using a custom installer to utilise the Install() and Uninstall() methods to write commmandline (in code) commands via the gacutil.exe.
Is there an easier way - or is this the way you would do this? Please k...
I recently got the beta IDE from Microsoft (Visual Studio 2010) but only got it for Visual Basic, but the Debugger keeps blocking me from downloading things like Adobe Flash Player, and won't allow me to run ActiveX add-ons (on Internet Explorer 8)...
is there a way to turn off the debugger from running in IE8, or just all-together shut...
Hello all,
I'm trying to rebuild zlib.net and create an assembly I can reference in future projects in Visual Studio.
However, after building from the supplied source code and moving the resulting zlib.net.dll to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies, while I can indeed add the zlib.net reference to ...
I recently switched to the dvorak keyboard layout as a bit of an experiment. One of the most difficult parts of the transition has been dealing with hot-keys. Most hot-keys are designed with qwerty in mind and, to make matters worse, hot-keys seem to be extremely muscle memory bound.
Rather than relearn all the hot-keys, I've written a...
In Visual Studio 2008, all of a sudden, when I try to Add Existing Item to a project, I'm getting this error:
The operation could not be completed. ClassFactory cannot supply requested class
Since I installed VS 2010 Beta 2 yesterday, I just now did a system restore to before that point to see if that was the cause. It wasn't.
I ...
I've checked out a branch of C# code from source control. It contains maybe 50 projects in various folders. There's no existing .sln file to be found.
I intended to create a blank solution to add existing solutions. The UI only lets me do this one project at a time.
Is there something I'm missing? I'd like to specify a list of *.cspr...
I recently started development in ASP.NET, and coming from a PHP background I sprinkle code into the aspx pages using <% %> to control logic.
I'm not debating the best practices of only using code behind, but one strong point in that directions favor is a problem I am experiencing.
Whenever I go into Design view of a page that has code...
I have a relatively large solution that I compile to DLL. I would like to print out or list all the fields in every class in this project.
I'm looking for a Visual Studio feature, Visual Studio add-on, external tool, script, or code snippet (something involving reflection, perhaps?) that will allow me to simply print out all these fie...
I need to know which are the APIs/library used for multithreading by MSVC . If there are more than one , please let me know which is the most widely used.
If my question sounds too naive , its because I've never done threading before , and from my past experience , I know there are people here who can get me started/point me at the righ...
hi
What's the easy way to make a setup of multiple project in a single solution. I have dll most of the project references . when I create a setup it make multiple interop in it.
waiting for your valuable thought.
Thanks
...
Hi,
I have a web service running on machine A on Visual Studio's build-in Development Server.
For testing purposes, I'd like to test the service by connecting to it from machine B, which is in the same subnet.
Is this possible? Or is VSDS restricted to localhost calls only?
-pom-
...
There are dozens of user control in our project. All these controls loads in Toolbox. I think this slows down the system when we work in designer. Is it true? if so the how to remove these controls from tollbox?
Thanks.
...