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...
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...
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...
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...
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...
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.
...
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...
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?
...
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...
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...
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?
...
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?
...
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 ...
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. It’s my first time so please send me detailed instructions.
...
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(...
How do Visual Studio's testing tools compare to third-party frameworks like NUnit? Are there any significant differences?
...
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...
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?
...
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
...