visual-studio-2008

Converting Console Application to Windows Application in Visual Studio 2008?

I found this solution which works, but I find it hard to believe there isn't a one-click solution to this problem. Do you know a better way? ...

Solution with 2 projects - sharing Properties.Resources

In Visual C# 2008, I have a solution with two projects. First project contains Form1 that displays one Label with Text set to a string from Properties.Resources, like this: label1.Text = Properties.Resources.MY_TEXT; In the second project, I "Add as link" this Form1 from the first project. I want to show this form, so it displays the...

What's Your Biggest Visual Studio 2008 Annoyance?

I love Visual Studio about 90% of the time, but that last 10% it is such a PITA it makes me want to launch my monitor off the desk. My latest annoyances: It won't remember my toolbar settings. I don't want any toolbars, ever. Quit popping open the CSS editor or XML editor or text editor everytime I open a file. Doesn't remember which ...

Why do so few .NET languages integrate into Visual Studio (specifically VS2008)?

The "core" .NET languages are integrated into VS2008 - C#, VB.NET, and C++. I'm not sure about current support for J# and JScript. But there are a number of other .NET languages out there - A#, Boo, Oxygene, F#, IronLisp/IronScheme, IronPython, IronRuby, Nemerle, Phalanger, P#, PowerShell, and more. Of these, I have only found VS suppor...

Why won't Visual Studio 2008 create .mdf files with SQL Server 2008 Developer installed?

I'm trying some of the ASP.NET MVC tutorials and one of them has the following steps: Right-click on the "App_Data" folder, and choose "Add New item" Choose "SQL Server Database" under the "Data" category. However, once I do that, I get the following message from Visual Studio: Connections to SQL Server files (*.mdf) require SQL ...

MSVCR90.DLL was not found.

I know a question like this was already asked, but the situation is a little different, and all the answers on that problem didn't work for me. I'm trying to compile some C code in VS2008 and it doesn't create an exe. Also, when I try to run it with f5, I get: This application has failed to start because MSVCR90.DLL was not found....

Creating new ASP.Net MVC project - Unit Test Dialog does not show up

When I create a New Project of type ASP.Net MVC Web Application, I expect the dialog for unit test applications to show up, but it does not. I cannot find the Unit Test App among the product types I can create either. How do I set up my VS so that the dialog shows up? I have installed Visual Studio 2008, .Net Framework 3.5 SP1 and ASP.N...

Web page designers

Are there any Web page designing software out there that allow me to drag and drop controls just like desktop applications. I found it quite difficult to design a web page using the designer in Visual Studio 2008 as it constrains me to a flow or grid layout. (I am not an accomplished designer but there should be some ease as one experien...

Programming pattern using typed datasets in VS 2008

I'm currently doing the following to use typed datasets in vs2008: Right click on "app_code" add new dataset, name it tableDS. Open tableDS, right click, add "table adapter" In the wizard, choose a pre defined connection string, "use SQL statements" select * from tablename and next + next to finish. (I generate one table adapter fo...

Syntax highlighting in Visual Web Developer 2008 Express ed.

How can I see which file extensions are related to which kind of syntax highlighting? Unfortunately, Tools -> Options -> Text Editor -> File Extensions lists only those entered manually, no default ones. And I didn't manage to find it on my own via Google or other means. My particular problem is, I want to have .inc highlighted exactly...

How to change the default browser to debug in Visual Studio 2008?

When you hit F5, the browser windows pops up, how do you set which browser the debugger users in Visual Studio 2008? NB. I have looked for the 'Browse with' option and not found it. http://stackoverflow.com/questions/79954/visual-studio-opens-default-browser-instead-of-ie NB2. If you are already debugging you dont have the 'Browse with...

System.IO.FileNotFoundException exception when attempting to drop UserControl on Form in designer

I have created a custom UserControl in Managed C++ that wraps some native code controls. I have confirmed the control works at runtime, and have been trying to make the control work with the Visual Studio designer by allowing drag and drop of the control from the designer toolbox. While I have successfully added the UserControl to the t...

Is it really worth porting from VC6 ->vc2005,2008?

What are all the problem that you foresee in doing that. ...

Visual Studio project not saved

Somebody please tell me it is possible to recover Visual Studio source after VS crashes! I have just spent 5 hours writing a new utility app, and running it with the "Save before Build" option turned on, as well as AutoRecover every 5-mins. But after VS crashed I am unabled to find anything other than an empty project folder!!! I can't ...

How to publish a web project with MSBuild?

In Visual Studio 2008 if you have a web project you can use menu Build -> Publish Web. Can I achieve the same result with msbuild via command line? ...

Refactor menu item for VB.NET projects in VS2008

Is there any way to use the VS2008 built-in Refactoring functionality on VB.NET projects? ...

How to disable interface keyword on visual C++ Express 2008?

I am compiling a legacy C code here and there is a lot of variables and struct members named "interface", but VC2008 express is complaining about these, do you know how to disable this? I already changed settings to compile the code only as a C code, but no effect on this. ...

How do I turn off the tag display at the bottom of Visual Studio source windows?

Visual Studio tries to be helpful by showing all the nested tags where the cursor is (the display at the bottom of the code window, next to the "Desgn | Split | Source" options), but I never use it, and it seems to slow things down when I'm just trying to cursor past large blocks of code. Is there any way to turn this feature off? ...

How do I restore a menu to the Visual Studio 2008 menu bar?

My Alt key was unknowingly stuck down and I tried to open my Window Menu in VS, which resulted in removing the menu from the bar. My question is, how the heck do I get it back? ...

Add Web Reference option missing in VS2008

I'm trying to add a Web Reference to a VS2008 .Net 3.5 Console Application but the option's not there. The options to "Add Reference" and "Add Service Reference" are there. ...