visual-studio

How can I reassign F5 in Visual Studio?

Can I make it so that F5 doesn't "run" in VS any more? I'm too used to running queries in SSMS and then moving to VS and running my project when I'm not ready. A case of Premature Execution? ...

vs.net first time exceptions filter

In visual studio you can activate break on first change exceptions. In my application I would like to ignore certain exceptions (validation and installation) and I have to disable those by hand. Is there a way to set up the first change exception window with a set of default exceptions to catch and/or ignore? ...

How to render an arabic character in OpenGL?

I am able to display chinese character correctly but when I try to display arabic string the output that display in OpenGL scene is different from the arabic string that display in Visual Studio Editor. I know it should be something to do with "Complex Script" but I am not able to find any good example regarding to this matter. I would l...

Why VM Debugger in Visual Studio 2008 throws "unable to detected startup project"?

Hello, I have a problem with VM-Debugger in Visual Studio 2008 (VMWare Workstation 6.5.3). Always when i try to Start the VM-debugging the debugger tells me the following: Error: Unable to detect the current startup project. I only have one startup-project but there are several other projects are in my solution. The debugger-log say...

How can I determine why a build runs slowly in Visual Studio 2005?

I wanted to know if it is possible to know why a Visual Studio 2005 (MSBuild) build is taking a long time to build a project. Suddenly we are getting 7-minute build times on some computers, while others take less, such as 4 minutes. So I think I need to identify changes that were made to the project and are causing a longer build time....

What value has Visual Studios CSS support?

Hi, So I'm supposed to be a .Net Developer but have found myself getting stuck with allot of css and html stuff lately. I would now consider myself to be very strong in css and all it's intricacies. With that said I still see any use it any of the Visual Studio support for it outside of the intellisense (when it works). I want to ask i...

Develop seamlessly in both VC++ 2010 and VC++ 2008 on the same work ?

Hi, I'd like to synchronize a VC++ 2010 project with a VC++ 2008 one. Is it even possible ? Basically, if I'm adding/deleting/renaming a file to a project in VS2010, I'd like it to be added/deleted/renamed to the corresponding VS2008 project. Project options synchronization would be awesome too, but not necessary. I don't need a solutio...

Moving development from Windows to Linux

I'm a longtime Visual Studio(from versions 6 to 2008) user that really like the editor and especially the debugger. Now I'm thinking of giving Linux a go, is there a IDE with similar, or better, capabilities out there? I'm also interested in recommendations for GUI libraries, c++ or c#. ...

Visual Studio: COMException opening project file

I am using VS 2008. When I opened a c# project file created by another developer I received a System.Runtime.InteropServices.COMException. I searched the web and found the solution was to comment out the ProjectExtensions section of the project file. I did this an it opened fine. But looking over the commented code I don't understand wha...

Dependency on VCOMP90.DLL in VS2008 Pro OpenMP project

I have a DLL project in VS 2008 Pro which uses OpenMP. I use /MT as 'code generation' option, because I want all my dependencies statically linked into my DLL, since I do not want to distribute many libraries to my clients - everything shall be included in this one DLL file. The problem is that my resulting DLL still depends on VCOMP90.D...

"Please wait while Windows configures Microsoft Visual Studio 2008"

I get the message "Please wait while Windows configures Microsoft Visual Studio 2008..." whenever I build the install project for my application. It configures VS for a while, then builds the project. This does not happen when I build the vb.net application itself, only the installation project in the same solution. This occurs on applic...

Visual Studio 2005 Express Edition license

I am going to develop one application using Visual C# 2005 Express Edition specially in c#. Actually this a commercial application for One of my client. Is it legal to sale this application for me and also for my client. What are limitations of this edition for commercial purpose...please help.Thanx in advance ...

Set Visual Studio (conditional) breakpoint on local variable value

I'm trying to debug a method which among other things, adds items to a list which is local to the method. However, every so often the list size gets set to zero "midstream". I would like to set the debugger to break when the list size becomes zero, but I don't know how to, and would appreciate any pointers on how to do this. Thanks. ...

Visual Studio 2005 Express Edition license

I am thinking of using Visual Studio 2005 or 2008 Express Edition for some commercial use. Where to download it. And is it necessary to register it ? Where to register? Thanks in advance... can i deliver my application to users before register ? ...

Should interfaces be in a separate project from their implementation?

My question isn't so much about use of interfaces but more of a project organization nature. Note: I am using VisualStudio in a multi-layered application. Should my Interface files live in a separate project from their implementations? My initial thought is that it would be useful to separate out all my service interfaces into their ...

Can I add an explorer shortcut to solution explorer and have it actually function?

I'd like to be able to include shortcuts in my solution explorer so that I can just double click in solution explorer to open a directory related to the project or solution, is this possible? Currently if I add a shortcut to the solution it comes up as a .lnk file and it opens insides Visual studio as a binary file instead of opening in ...

unable to get data in center of table column

I want to get the Name and Description in the center of the columns.. I tried a lot but no luck... I kno this is silly doubt but i am stuck... here is the .aspx code <!-- <table cellpadding="3" cellspacing="4" align="center" style="width: 100%; height: 60%"> <tr> <td bgcolor="#4F81BD" style="color: #FFFFFF" width="50%"...

Avoid building all VB.NET projects in a VisualStudio solution

We create a class library and ship C# and VB.NET examples. I have a solution of 60 C# projects. If I make an edit to one of them, Visual Studio only builds the changed one. I have an equivalent solution of 60 VB.NET projects. Visual Studio always builds all 60 projects. Why? Is there a way to force Visual Studio to behave like it does...

How to keep track of the SCM revision in the build versions automatically?

I want to look at a production binary and know which revision in the SCM corresponds to that build. How it is possible? Can I accomplish that in Visual Studio using VSS? ...

Cannot load SQL driver in Visual C++ (but loads in QtCreator)

I have a QT application that requires the MySql driver. I have both a .pro file to compile the app with QtCreator and a .vcproj for Visual C++ 2008 Express. The code is identical and it compiles without a hitch, but the executable created by Visual C++ Express gives me the following output and refuses to load any driver/plugin: QSqlData...