visual-studio-2008

Is there a way to change what is stored on the "Go To Definition" stack in Visual Studio 2008 (and 2005)?

Visual Studio 6 had the 'Go To Definition' (and 'Go To Declaration' functionality) just like Visual Studio 2005 & 2008. Oh, actually, not quite like those two. For some reason, not only are the 'Go To Definition' an 'Go To Declaration' actions added to their stack, but so are a lot of cursor movements, particularly 'Find' and 'Find Nex...

Resharper 4.5 Extract method - Can't get Function!

I am using Resharper 4.5 in Visual Studio 2008. Whenever I try to extract a block of code into a method, it tries to create a subroutine and not a function. The return type option is disabled. Does anyone have any advice as to how I can get it to create a function and not a subroutine? thanks! ...

What did I lose when I upgraded?

I upgraded my work box from Vista64 to Win7-64 by doing a format and reinstall. I kept backups of the project done in MS Visual Studio 2008 (Team). But now it won't compile. I am getting errors generated on lines in the MS created header files like "'_In_' not defined" etc. I know it is because I lost some compiler setting/directive. I w...

RTF Tags removal by regex problem

Folks, desperately need your help. I am using C++ VS 2008 to strip RTF tags to make search in the RTF text only. The rtf text I get from CRichTextEdit into CString and it works just fine. Here how I try to remove the tags: 1 std::tr1::cmatch res; 2 std::string str = note; 3 const std::tr1::regex rx("({\\)(.+?)(})|(\\)(.+?)(\b)"); 4 std...

Visual Studio 2008 - Start debugging?

Using VB 2008 When I press the F5 or Start Debugging it does a rebuild even when I have made no changes since the last time. Where is the setting to tell it to only do a rebuild if there are changes? ...

Enable DLL compilation

I have a VB.NET Project, and would like to, as with C# Projects, build and have dll files generated and dumped in the Bin/debug folder. Currently, I have the project configured for ANY CONFIGURATION and ALL CPUS but when I do a build, I still do not have a bin folder or a debug folder containing a DLL. What am I missing here please? Tha...

asp.net (masterpage)

hi; i've a problem. previously, i created a aspwebsite project.and in that,created a masterpage.i want to use this masterpage with contentpage. but i didn't find contentpage in visual stdio 2008. can anyone help me? ...

Dot net 3.5:how to enable intellisense while writting xml file refering to defined schema?

I have defined a xml schema as below <?xml version="1.0" encoding="utf-8"?> <xs:schema id="PacketTemplate" targetNamespace="http://tempuri.org/PacketTemplate.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/PacketTemplate.xsd" xmlns:mstns="http://tempuri.org/PacketTemplate.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"&g...

How do I make the installer project require the user to restart their machine after installation completes?

As title says, How do I tell the user via installer that the machine needs to be restarted and have the installer restart it ? Please note that I'd like to avoid having a custom action with MessageBox.Show("Restart your machine"); ...

ATL Combobox-based control

I'm trying to create a simple ATL control based on a ComboBox under VS2008. So, I create a new ATL Project using the ATL Project Wizard, then add an ATL Control to the project using the ATL Control Wizard. I use all of the default settings except that I tell the wizard to base my control on ComboBox. The wizard does its thing and generat...

How do I implement intellisense support for a custom DLR language in VS2008?

I have just started writing my first language for the .NET DLR. I would like to know if it is possible to extend Visual Studio 2008 IntelliSense to handle the syntax of a custom DLR language? EDIT: I have decided to bypass VS2008 and target VS2010 instead. See accepted answer for more information. ...

add assembly reference dialog

Is there a way to use visual studio's "add assembly reference dialog" (or something similar) in my own application? I need it for dynamic code generation and compilation. This is not simply an OpenFileDialog, since it additionally looks into the GAC and so on, so it will be very complicated to do it on my own, I think. If this is not p...

Is there a overview of my existing shelves available in Visual Studio 2008 when shelving?

I'm using Visual Studio 2008 and discovered the shelve/unshelve function for me and became a great fan of it. But there is one thing that annoys me. The shelve dialog lags a overview of my existing shelves. So each time I want to shelve I first open the unshelve dialog which lists all my existing shelves. After closing the dialog I ope...

Map unmapped menu items to key combinations in Visual Studio

How can I assign key combinations to unmapped menu items in VS2008? I want to map view.PendingCheckins window, but when I go to Tools->Options->Environment->Keyboard , I can pick the action but not assign any shortcut keys. I'm sure it is simple, what am I missing? ...

MSDN for Windows API in Visual C++ Express 2008

I install Visual C++ 2008 Express to develop code using native Win32 API. However, the MSDN Express I can install with it doesn't show help on Windows API functions - but only on .NET Even online help isn't helpful and keep linking to MFC. How can I integrate MSDN with Windows API documentation (SDK) into my Express 2008? ...

How to syntax highlight using scintilla?

How can I syntax highlight using the scintilla. I have no idea how to use it. I need a code sample that loads scintilla, puts a String[], and runs it in a richtextbox. ...

Get Rid of Error Message - VB.NET

Hey guys, When I do the try/catch method in my vb.net project I will try the code I want and when it can't do it, i make a message box right after the catch method. The thing is that it will show the message box, and then another message from the program itself. Like for example, I have here a MySQLException, and when i click ok on the ...

Control user input to textfields

Looking for a way to control user input in text fields. i.e. one field can be double, one field string, one field int. Is there a library I can use to look after this for me? Using: Vs 2008, C#, WPF ...

Visual Studio C# form missing components

My lab partner and I are working on a school project in Visual Studio 2008 in C#. He emailed me the latest version of the project. When I open it, some, but not all, forms that I previously created are now missing all the components that were added to them. However, when I run the project, the components are there and work. Everythin...

Visual studio embedded web server bind ip address

By default, the embedded web server of VS 2008 starts on address 127.0.0.1. Due to some complex network configure issue, I have to start the web server on the IP of host(i.e. 10.46.30.240). What I want to know is if this is possible with VS2008 configuration, Or I have to do some Windows 2003 hacking to achieve this? Thanks. ...