visual-studio

What are the different processor registers used by the VS C++ compiler?

What are the different registers used by the C++ compiler in a program? What is the difference between SP and FP? If possible please point me to some detailed reference docs. Curious to know the underlying things happening in a compiler. Is it possible to view these registers during the execution of a program in Visual Studio. Appreciate...

.NET CF 3.5: Adding GPS.NET 3.0 controls to my form

Hi, I am trying to add the GPS.NET 3.0 controls to my form in the designer. I have a .NET Compact Framekwork 3.5 project, I have added the Release assemblies CF35\GeoFramework.Gps.PocketPC.dll CF35\GeoFramework.PocketPC.dll to my references. In the toolbox I did this: Rightclick -> Choose toolbox items -> Browse and selected the CF3...

Namespace reference in VS class diagramm

When defining parameter type that is e.g. in System.Data you have no intellisense and your class code will not have required using to compile the code. Is there a way to add it? That would be good to be able to add usings to class or groups of classes right from class designer, but I didn`t find how to do it. ...

Visual Studio 2008 - Moving solution files (sln, suo)

If a VS2008 project is created initially with a web app project, and class projects are added, and the structure is like this: Parent Folder Web App Project Folder - (solution Files in this folder) Class Project 1 Class Project 2 ... do you see any problems with moving the .sln and .suo files to the parent directory? ...

ASP.NET Unit Test DirectoryNotFoundException

I am trying to get a ASP.NET Unit Test running and I keep getting a DirectoryNotFoundException: Could not find part of the Path 'C:\inetpub\wwwroot\WebsiteName\GPS\web.config. The problem is the path to the GPS web.config is C:\inetpub\wwwroot\WebsiteName\website\GPS\web.config. I can't figure out how to set the path of this web.config...

What is the difference between the "Checkboxes (A)" and "Checkboxes (B)" dialogs in a Visual Studio setup project?

In a Visual Studio Setup & Deployment Project, I can design the user interface for the installer. I have a welcome screen, a license acceptance dialog, and then an installation location dialog. All good. I want to include one more dialog, to confirm changing of file associations. I think the way to do this is with a dialog that has a...

In a Visual Studio Setup Project, How do I make update of the Registry conditional on a Checkbox dialog?

Currently I use Registry Settings within the Setup Project to set the file associations and the icon for the associated files for my application. In the generic VS Setup project, the update to the registry is done always. How can I make the update to the registry conditional on the state of a checkbox dialog? ...

C# convert hex into ip

i have hex values in the format of 4a0e94ca etc, and i need to convert them into IP's, how can i do this in C# ? ...

Found conflicts between different versions of the same dependent assembly.

Hi! i currently programming a program in visual studio using the .net 3.5 framework and the microsoft interops to interact with the office products. I have an issue with the app.config file. everytime i compile my solution, rebuilt or build it a warning occurs in the error list witch says Found conflicts between different versions of ...

how to add class reference in asp.net

I am creating basic project which includes layers. One is bussiness layer another one is Data layer. And my front end(default page). I have created 2 classes for BL and DL. Please help me how to add that class in my project. ...

In a Visual Studio setup project, How do I generate an uninstall script?

I have a Visual Studio setup project. Upon installation, it creates an uninstall batch file in the application folder. IF the user wants to uninstall the product, he can go to "Add/Remove Programs", or he can just double-click the uninstall.cmd. The contents are: %windir%\system32\msiexec /x {CC3EB7BF-DD82-48B9-8EC5-1B0B62B6D285} ...

visual studio minimize,close etc. button not showing

Hi In the studio itself, in the sub-windows (properties,open files,solution),I cant see the buttons. If I hover above them they blink, and if I click they work but they are not shown yesterday the icons turned from X to N and from _ to H but now they are completely gone. any idea? ...

Why does Visual Studio start my web app in non-debug mode if IE8 is already opened?

Problem If IE8 is already opened then my app will be started in non-debug mode rather than debug mode. Visual Studio "lets go of it". Why that is and how to change it? Expected and Desired Behaviour With my previous installation if IE7 wasn't running, Visual Studio would start IE7 and load the application into a new tab. If IE was r...

Visual Studio post build events stuck waiting for executable to finish before running app in debug mode.

Part of the post build on my project is the execution of a program I wrote for testing the main application. Unfortunately, the post build process in visual studio locks up waiting for the executable to exit. So, i'm stuck closing my test program in order to have the post build process complete and my application run. How do I change thi...

VS Setup Project; How to restore a registry value on uninstall?

I have a setup project in Visual Studio. As part of the regular installation, it creates/updates some keys and values in the Windows Registry. How can I make the updates reversible? you may say "they are reversible", but I don't think so. Here's how I think it works: USe the VS designer to specify which Registry Keys and Values you...

How to add namespaces to QuickWatch window in VS 2005

Hi I want to add for example using System.IO; for the QuickWatch. And i don't know how. My objective is to whenever i want to see the value of a certain expression for example Path.Combine("C:\","test"); i want to be able to see the result in the quick window. But i can't i have to add 'System.IO' in the quick watch before 'Path.combine...

How to start a single project without debugging in Visual Studio?

Hi! My solution contains multiple projects which can be started. SometimesI would like to start a single project without using my solution startup projects settings. When I right-click on the project, I can navigate to Debug->Start New Instance, which starts the application with debugger. But I would like to start a new instance withou...

How can I hide an exception type from the output window in Visual Studio?

I'm testing something and the output windows is being flooded with exceptions. How can I filter an exception type that is shown in the output window. Note: Avoiding exceptions is not possible in this case. ...

Will Installing VC Express 2008 on a VS2008-ready machine corrupt my system?

I have Visual Studio 2008 installed on my machine and I want to know whether I can install VC Express 2008 with no crashes. What would I want such a thing? tutorials. Thanks in advance. ...

Visual Studio: Code coverage not generated for signed assemblies

We are developing a system using c# in Visual Studio 2008. When I configure VS to instrument my dll's and run the tests, only the dll that is not signed gets instrumented (nice way to find that we forgot one). Is there a way to generate code coverage on signed dll's or do I have to un sign them, run the analysis and then sign them agai...