visual-studio

How does WINVER or WIN32_WINNT affect operating system version as shown by dumpbin

We have an existing (old) codeline that we have recently converted from VC6 to VS2008 (converting to VS2005 along the way). After our conversion, all (or most) of our vcproj files set WINVER to 0x0500 via the Preprocessor Settings. In quite a few of our precompiled headers (typically stdafx.h), WINVER is set to 0x0500 (some still set i...

Embedding multiple, identically named resource (RC) files in a native DLL

Hi all, For my application (an MMC snap-in) I need to create a single native DLL containing strings that are localized into different languages. In other words, if you were to inspect this DLL with Visual Studio, you would see multiple string tables, each associated with a different locale but containing the same string IDs. The approa...

TableAdapter query with an Int64 parameter over an ODBC data connection...

In this case, the Visual Studio designer generates a method which takes the parameter as an int, even though the corresponding database column is specified as System.Int64. This is the query specified in the "TableAdapter Query Configuration Wizard": SELECT * FROM my_table WHERE "status_id" = ? Again, status_id is of type System.In...

does cdb/windbg have an equivalent to autoexp.dat?

I'd like to change the way some types are displayed using either 'dt' or '??' in a manner similar to how you can do that with autoexp.dat. Is there a way to do this? For example, I have a structure something like this: struct Foo { union Bar { int a; void *p; } b; }; And I've got an array of a few hundred o...

Turn off Tag Navigator in VS2008

Hi, I've looked everywhere on how to turn off the Tag Navigator at the bottom of my Visual Studio 2008 and can't any info! Since installing ReSharper a group of us have come across a bug where it will reset your mouse cursor to 0,0 when you rollover a tag in the Tag Navigator and since I can't find any info on that bug I just want the N...

View Added Items in Visual Studio

I just began using Visual Studio to work on a practice .NET project. I have added a stylesheet that I made outside of VS. I went to Project/Add Existing Item... My question is, how can I view all the items I have added to a project. ...

Visual Studio 2008 - How to disable Pending Checkins processing

Is there a way to disable the "Pending Checkins" processing which Visual Studio 2008 does every time one opens a solution? It's causing problems at our work because the processing of about 4500 files is slow. Closing the tab didn't seem to help. I also tried the "Perform background status updates" -setting in the Options - Plug-in Setti...

Can't output Debug.WriteLine("test")

I wrote following code Debug.Listeners.Add(new TextWriterTraceListener(Console.Out)); Debug.AutoFlush = true; Debug.Indent(); Debug.WriteLine("test"); Nothing is output in output window What's wrong? ...

subsonic in visual studio design host

Hi, I'm facing currently a problem regarding Subsonic configuration. What I want to achieve is using subsonic data access in a System.Web.UI.Design.ControlDesigner class. This class is hosted in Visual Studio Environment and enables design time operations on the attached System.Web.UI.WebControls.Control. The only problem is Sub...

How does the C++ STL vector template store its objects in the Visual Studio compiler implementation?

I am extending the Visual Studio 2003 debugger using autoexp.dat and a DLL to improve the way it displays data in the watch window. The main reason I am using a DLL rather than just the basic autoexp.dat functionality is that I want to be able to display things conditionally. e.g. I want to be able to say "If the name member is not an em...

.designer.cs what is it for?

In my project when I create a webusercontrol or a webform it creates the code behind, but it also creates a .ascx.designer.cs file. What is this file for? Can I prevent it from being added when I create a new webform/webusercontrol? ...

Get Parameters Type and no. of parameters for a function in Visual Studio Editor (C#)

After writing the name and opening and closing parentheses (brackets) of a function in C#, is there any way to get the types and number of parameters of the function, without deleting the opening parenthesis? ...

C99 complex support with visual studio

I would like to use complex numbers as defined in C99, but I need to support compilers which do not support it (MS compilers come to mind). I don't need many functions, and implementing the needed functions on compilers without support is not too difficult. But I have a hard time implementing the 'type' itself. Ideally, I would like to ...

Visual Studio 2008 Menu Items Duplicated

I occasionally get some issues with Visual Studio and ReSharper that causes me to run devenv.exe /ResetSettings After doing this, the menu items under "Data" are all duplicated, and each section is duplicated. So it now looks like this: Show Data Sources Add New Data Source... ------------------------- Schema Compare Schema Compare ...

Visual Studio 2008: How to publish a website and what are the requirements ?

Visual Studio 2008: How to publish a website and what are the requirements. It’s my first time so please send me detailed instructions. ...

my vs2008 addin for textformatting is awfully slow

Hi folks, i wrote a little addin, which does some formatting of my C# code. in the addins Exec method i do the following try { TextSelection selection = (EnvDTE.TextSelection)_applicationObject.ActiveDocument.Selection; String foo = String.Empty; if (!text.IsEmpty) { foo = someCoolObjectThatFormatsText.Format(...

Visual Studio's testing tools compared to third-party tools

How do Visual Studio's testing tools compare to third-party frameworks like NUnit? Are there any significant differences? ...

Is it possible to wikify Visual Studio XML comments?

Is it possible to generate a set of wiki pages from XML comment file generated by Visual Studio? I'm talking about something like Sandcastle, but for wiki format instead of compiled CHM. Edit: I'm using MediaWiki which can import/export articles in XML. So I hope that it is possible to write a transformation converting XML comments t...

visual studio 2008 pasting text freeze IDE

has anyone else experienced this . I have SP1 but i have to kill and restart VS2008 10 times a day due to this copy / paste problem. any suggestions? ...

RichTexBox & FormFeed Characters

Hi, When loading a text file that contains FormFeed characters, the .NET RichTextBox control strips them out. Is there a way to keep this from happening? Thanks. --Lenard ...