visual-studio

How to get vmware to run a program within MAC OS X via script or alias

On my Mac OS X computer, I am trying to setup a script that will open a particular program ( Visual Studio ) that resides within VMWare. More specifically, when I run the script, I want Visual Studio application to open a specific file that would passed in as a parameter to the script. This file would be shared and accessible to VS. A...

SQL Server Management Studio solution vs Visual Studio Projects

Almost all of our projects involve a web application or winforms application and a data access layer (class library) and stored procedures/database scripts. We are looking for a good way to organize the solutions, and found a few ways: 1)We could have a sql server management studio solution for all the db related things, then have a vi...

Two programmers working on a Visual C# program

I and another programmer am working on the same program in Visual C#. I let him work on it, and then he uploads it and then I work on it, and then I upload it so that he can work on it. We take turns altering the source code. However, this is kind of slow. It would be better if we were able to both work on the source code at the same...

Visual Studio 2008 template containing both a C# and a C++/CLI project?

Hello everyone, I'm currently writing a Winamp plugin framework for C# (basically, a C# implementation of the Winamp API/SDK, as well as a barebones plugin template). Because C# libraries can't export DLL entry points, I'm using a C++/CLI wrapper which basically just loads the C# library. I'd like to create a Visual Studio template for ...

Visual Studio: Creating Folders With Specified Name

I need to have some actions in the installer to create a folder and some subfolders. The folders aren't related to where the installation occurs or any standard folder but a specified name (e.g. c:\mediacentre). I guess one option is to use a custom action, but is there another way? ...

datetime vs smalldatetime

If I don't care about less than seconds, what should be the recommended type to store my datetime values in sql-server 2005, is it datetime or smalldatetime or else? ...

Modify ApplicationSettings

Our .NET application controls measurement instruments. The application is installed and many different windows users can access it. When something changes in the system a user has to update the settings. For this we use the standard Settings features of VS2005. This means that every single user has to manually change the settings if anyt...

import List in haskell

I'm trying to work with lists in Visual Haskell Studio, but it doesn't recognize import Sytem.List neither does it recognize import List. How can I use simple list functios in VHS? Urgent! Thank you so much in advance!!! ...

Visual Studio 2008/2010 & SQL Server 2008 on Windows 7 Home Premium

Are there any limitations with respect to developing ASP.NET and WPF apps using VS 2008/2010 and SQL Server 2008 on Windows 7 Home Premium? I know you can run IIS 7.5 on Home Premium. I Googled and Binged on Home Premium and VS/SQL Server and couldn't find much. It doesn't look like the features missing from Home Premium, domain joinin...

Can Visual Studio trace all events?

Is there some way in Visual Studio to enable/disable automatic tracing of events? I am not referring to adding Debug. or Trace. statements but rather having the system write to a buffer all the events that it has detected that apply to the application. This feature is common in embedded systems development and I can find no way to enab...

Visual Studio : exclude outlining from undo/redo stack

Hi, There's something really annoying in Visual Studio : where I expand or collapse a method or code region, this action is pushed on the undo stack. So if I edit some code in a method, then collapse that method, and then want to undo my change, I have to undo twice : once for the collapse action, and once for the change in code. This c...

Watching a variable in Visual C#?

In my program there is a variable that sometimes gets the value of -1. I want to find out exactly where in the code this is happening. In Visual C#, is there a tool or method I can use so that when the variable becomes -1, the debugging process pauses, and I'm taken to the line of code where the variable is set to -1? ...

ASP.NET MVC 2 Preview/Beta Visual Studio Questions

ASP.NET MVC 2 Beta was just released and I'm a bit confused as to what is required to run it. Does it require .NET 4? If I have an App that was created using Visual Studio 2010 Beta 2, can I port it to ASP.NET MVC 2 Beta by referencing the proper DLLs? If so what DLLs do I need? Can I run ASP.NET MVC Beta 2 on .NET 4 ready hosting ser...

How to make a Visual C# program restart itself

I made a game in Visual C#. It starts out with a welcome screen. After the game ends, it says "game over." Then I want the program to restart at the welcome screen like it was just started. How do I do that? ...

gtest output not appearing in visual studio output window after including msxml4

I have gtest all setup and running fine with Visual Studio 8. I've included msxml 4.0 in my build and now the test output won't show up in the visual studio output window. The application will run if launched from the command line and return correct results (no missing dlls) I've narrowed it down the msxml4.dll because if I comment ...

Why do I get "file is used by another process" errors when I debug within Visual Studio?

Using Visual Studio 2010 beta, when I run my application within the IDE for debugging, it works perfectly the first time. However, after closing the debug session, either by closing the application or clicking the stop debugging button, all subsequent attempts to debug the application fail with: Error 1 Unable to copy file "obj\Debu...

VS Express (C#) difference between Properties>Resources.resx and Resources1.resx

Hi, I am curious what is the difference between those two? I was able to add resources to both of them. In the project properties menu, when I click on resources, the content of the first one is displayed. Why there are by default both? The same with settings. Thanks! ...

Embedding app.config - working only in release, debugg does not

Hi, In order to have neater app distribution I have made app.config file to be embedded resource, since it only contains default values. However, the app now cannot be debugged, it throws an exception (ConfigurationErrorException). But when released, the app runs fine. Is there any way how to get it working in the debug time too? Thanks ...

Visual Studio 2008 IDE, typing open quote doesn't output it until quote is typed again

When I type an open quote (") in visual studio, nothing happens till I type quote again. This is most frustrating because quotes are used everywhere. How can I get normal quote typing behavior in VS2008? Thanks Normal quote behavior: I would like the quotation character to immediately appear on screen when I type it, like in other ap...

How to reset the trackbar in Visual C#?

How do I force the slider in the trackbar to be in the leftmost position? ...