visual-studio

how to set breakpoint in this way?

Hello everyone, I want to set a break point and wants it to be triggered when a piece memory (begin address and length are known) are changed. I am working on Windows Server 2003 x64 platform. Either solution in Windbg or solution in Visual Studio are fine. My purpose is to monitor when the memory content is change. thanks in advance, ...

Automating Visual Studio from within Delphi and firing up a project item

Visual studio type library I'm trying from Delphi to open up Visual Studio (for editing SSRS reports), and load up a particular projectitem from a solution file I have autogenerated. I have imported the visual studio type library, and can create the object, and drill through the solution until I have the right ProjectItem objDTE := Cr...

debug vs release build in Visual studio c++ 2008 win32 runtime issue

I have a simple udp listener written in c++ using win32 when I compile and run the program under debug mode it works perfectly, and I'm clearly able to see the information from the packets that I'm receiving. When I run this same code as a release build it compiles fine and seems to run fine, but its not printing out any packet informati...

Advantages and usefulness of adding an XML file to a Visual Studio 2008 project

What is the advantage of adding XML files to a visual studio 2008 project (windows form app project for example). Once added to the project, how could I refer to this XML to use it in a class in the same project? In this case, I would be sending it as a query to a web service. ...

Linker Error while building application using Boost Asio in Visual Studio C++ 2008 Express

I just started writing a small application in C++ using Visual Studio C++ 2008 Express. I installed the Boost Library using the windows installer. While compiling the program i get the following error : Compiling... stdafx.cpp Compiling... websave.cpp GoogleAuthenticate.cpp Generating Code... Compiling manifest to resources... Microsof...

Where is the Visual Studio layout saved?

I am having problems with VS2008 moving the windows around and losing tabs when I close it and open again, or when I go from coding to debugging and back. (Yes, I know that it is supposed to save different layouts for coding and debugging). I have tried exporting my settings, but it informs me helpfully that "Your settings were exporte...

VS .Net: Post build events for "Primary Output from <myProject>" in installer project

Hi, I'm using the following post build actions in a project, to merge a lib into my application: IF $(ConfigurationName) == Debug GOTO end cp $(TargetPath) $(TargetDir)app_unmerged.exe del $(TargetPath) "C:\Program Files\Microsoft\ILMerge\ilmerge.exe" /internalize $(TargetDir)MyApp_unmerged.exe $(TargetDir)someLib.dll /out:$(TargetDir)...

Why will Visual Studio 2005 not debug my javascript?

In this very simple ASP.NET application, Visual Web Developer 2008 Express CAN debug the Javascript fine but the full version of Visual Studio 2005 CANNOT debug it, namely: when I click on a line in the main.js file it gives me a red circle with a question mark on it, the mouse hover revealing: "This break point will not be reached, no s...

How can I get Visual Studio 2005 to show my running JavaScript files in the Script Explorer?

In the question Why will Visual Studio 2005 not debug my javascript? I learned that debugging is possible in Visual Studio 2005 but you have to start debugging your application and then press CTRL-ALT-N to open the Script Explorer to set break points, etc. However, even with the following simple code, when I press CTRL-ALT-N, the Scrip...

VS2010 vs VS2008 SP1 on Windows 7

How stable is Visual Studio 2010 compared with VS2008 SP1 on Windows 7? ...

Visual Studio 2008 macro to switch between header and source files?

Does anyone know how to make a macro or something to switch between foo.hpp and foo.cpp? I would really appreciate having a macro like this. I guess it would help if it actually opened the corresponding file, but kept the old one in a tab. Thanks ...

Library for parsing Visual Studio Solution files?

Does anyone know of a .NET library/script for parsing Visual Studio solution (SLN) files? I would like to write an app that merges multiple solutions into one while saving the relative build order. ...

Track all object references in C#

Is it possible to list all references of an object, while debugging in Visual Studio. I am using C#. I am looking for something similar to what GC does during garbage collection. ...

Is there a way to force Visual Studio 2008 (or below) to use a spellchecker for comments?

I'm not sure if this can be done at all, but it'd certainly make my life easier. I was wondering if maybe the MS spellchecker could be used as a plug-in for other applications... or something like that. Thanks. ...

Set app to require elevation?

I'm working on the bootstrap application of a new installer for some of our products. So far, I've been relying on two things that I read about somewhere: Applications whose name contains "setup" or "install" will run elevated by default. Applications that run elevated will launch other applications in elevated mode. Recent testing h...

Visual Studio 2008 with ASP.NET 3.5 debuging using attach to process is not working

Hi, I am so used to attach a process when debugging ASP.NET application in .NET 2.0 and VS.NET 2005. I don't know what happened to this functionality in VS.NET 2008. I also don't want to do debugging by starting from the start page because when the application is big enough you don't want it to be compiled and you sometimes cannot catc...

Automatically generate implementations of base class methods

Is there a shortcut of some kind in C# (VS 2008) to automatically implement the virtual and abstract base class methods in a derived class? ...

eclipse like word completion in VS

Hi! Does VS have the option or do you know of a plugin that has the same "Complete Word" functionality as found in Eclipse (originates from VIM). Talking about Alt + / (default). This is not intelli-gent in any ways, just scans for words with the same first letters up and down. ...

In Visual Studio 2005/2008, why doesn't the ">open xxxxx.cs" shortcut work with forms?

In Visual Studio, there is a handy IDE shortcut for directly jumping to a file, i.e. CTRL-/ (to select the Find combo-box) Then type in ">open myclass.cs" This is much quicker than navigating through the Solution explorer to open the specified class. However, if you try and open the code part of a form (not the designer part) in this ...

Visual Studio Class Diagram not showing relationships

When I define my class properties with out using fields (which was enabled with C# 3.0), class diagram is not showing my one to one/many relationships. Inheritance is visible in the diagram though.. Is there a way to fix this? ...