visual-studio

Programatically notify automatically when my VPN Client got disconnected.

I want to notify automatically when my VPN Client got disconnected.If any body knows in bulid method available or I can create an windows application/notifier using VS 2005 c# to receive a notification. Any Ideas? ...

How to create trial version of .NET software?

Does Visual Studio have built-in tools for creating trial versions of software? If no what tools can do the job? What are the best practices for creating trial versions on .NET platform? How these practices depend on application type (web applications, Windows Forms applications, dll ect.)? ...

Avoiding .NET versioning hell

So sometimes (oftentimes!) you want to target a specific .NET version (say 3.0), but then due to some .NET service packs you get into problems like: Dispatcher.BeginInvoke(Delegate, Object[]) <-- this was added in 3.0 SP2 (3.0.30618 ) System.Threading.WaitHandle.WaitOne(Int32) <-- this was added in 3.5 SP1, 3.0 SP2, 2.0 SP2 Now, thes...

Please tell me how to stop continous searching in visual studio

once i run search all using ctrl + shift + f than my search not get stop and it showing searching on status pannel. please tell me how to stop this.. i am using visual studio 2005 ...

cast an object to a dynamic type

How would I accomplish this: CType(abstracttype, DynamicType) I need a way to figure out what figure out what the Dynamic Type would be. ...

Visual studio Resource editing problem

So, I'm busy making a model viewer, I'm trying to get my dialog properly setup, and get my openGL view ports squared ( I'm using picture box controls for it ), one big problem. Visual studio doesn't allow me to set the the size manually, I can't see the actual pixel size. I can only see it in the bottom right corner of the screen but tha...

How to open the solution physical folder with File Explorer in Visual Studio 2005

I cannot even copy and paste that physical folder in properties window :( ...

When you move files around in Visual Studio will Ankh SVN turn that into a SVN move?

I would like to move some files around in Visual Studio. But I see Ankh is treating that as new files and delete in the changes list. Is the equivalent to SVN move? I don't want to loose the history for those files. ...

How do I get the IVsTextView of a specific OutputWindowPane?

I have a visual studio integration package that tracks output from the debug window. I can get the IVsTextView of the output window, like so: IVsTextView view = GetService(typeof(SVsOutputWindow)) as IVsTextView; // grab text from the view and process it However, if a different panel other than the "Debug" panel is currently active, t...

How do I write color text to the Visual Studio output window from c#?

I want to write color text to the Visual Studio output window from c#. I want to output red code from my unit tests. ...

Where did my Visual Studio exception assistant go?

Since a couple of weeks the Visual Studio (2008 9.0.30729.1 SP) Exception Assistant has stopt appearing while debugging using the C# IDE. Instead the old ugly and useless debug dialog comes up: To make sure, I've checked the following: "Tools / Options / Debugging / General / Enable the exception assistant" is on. "Debug / Exception...

Compile time comparison between Windows GCC and MSVC compiler

We are working on reducing compile times on Windows and are therefore considering all options. I've tried to look on Google for a comparison between compile time using GCC (MinGW or Cygwin) and MSVC compiler (CL) without any luck. Of course, making a comparison would not be to hard, but I'd rather avoid reinventing the wheel if I can. D...

Creating CMFCDesktopAlertWnd Control in Visual C++

Hello, MSDN contains an example for creating a desktop alert window: http://msdn.microsoft.com/en-us/library/bb983515.aspx The sample code starts with the following declaration. CMFCDesktopAlertWnd* pPopup = new CMFCDesktopAlertWnd; When I use it in my code, the compiler complains 'CMFCDesktopAlertWnd' : no appropriate default cons...

Macro to create macros?

Over the years, I've built up a number of macros that I like to have available in visual studio. It's always a pain to reload them and rebind them to the keyboard when I go to a different machine/rebuild/use a VM/etc. Someone mentioned to me once that there is a way that you can write a macro that will recreate your macros and bind t...

Best way to create an application-icon in visual studio c++

In Visual studio I can draw 13 different application-icons in different resolutions and color depths. But do I have to do this, or is there a way to automatically produce all low-res icons from one single hi-res icon? ...

console windows not close after stopping program

Hello, Visual Studio 2005 C++ Windows XP Pro I have a sample application that I am testing, that links with boost libraries. However, the program runs ok. However, when I try and stop the program by clicking the 'Stop Debugging' button. The program ends, but the console window remains open. So I have many of them, as during my testing...

How to stop execution of ASP.NET app on demand during debugging and show line where it happened?

How to stop execution of an ASP.NET app on demand during debugging and show the line of code where the app was aborted at that moment? Using Visual Studio 2010 RC Ultimate. ...

Visual Studio 2008 ASP designer bug

sometimes happens ... When I edit some component on ASP.NET (ObjectDataSource) Changing function - adding new parameter it's looking like OK on designer, but when I turn to Code Page it hasn't been added. when I reopen the page on IDE or compile there is no my new parameter. So designer fails. So I need to add parameter to code manuall...

How to convert VisualStudio project to Eclipse CDT

The question is already in the title. I have a Visual Studio project which builds a .dll. Now I need the same library for MacOS X and linux, so I would like to convert the VS project to Eclipse and compile it for both platforms. I will be very thankful for any tips, hints or guidance! ...

Accessing Microsoft visual source safe over the internet

I am working on a software project which uses the Microsoft Visual source safe version control system. I need to access this system from home as I often work on source code files from there. How I can VSS be setup so that it can be accessed from the internet as well. ...