I am using VS2008 with TFS 2008 and I have a web application project which gets auto check out on build.How can this be avoided? I dont want to change my Source Control changes which are auto check out on edit. When I check in the file it says file are idential, no changes...Any pointers
...
What is the trial period of Visual Studio 2010 professional IDE?
...
I have a project I'm looking to manually manage via perforce version control as I only have the Express edition. What I'm looking for is which files should be excluded in the version control as locking many of the files can result in a problem for visual studio compiling and debugging.
What I have, so far, included.
.cs files (except p...
Situation
I have a plain text file where indentation is important.
line 1
line 1.1 (indented two spaces)
line 1.2 (indented two spaces)
line 1.2.3 (indented four spaces)
In Visual Studio 2008, when I pressed enter, the next line would also be indented four spaces.
However, in Visual Studio 2010, when I press enter, the next...
I'm using Visual Studio and while fiddling around with a custom control, I started to get an out of memory error.
The stack trace is not helpful - it's just a bunch of frames doing Reflection and so on.
How can I fix this?
...
Has MS given up on J# ? We integrate with software currently through a J# assembly. Does anyone know if it will be/is supported in 2010?
...
I've got a visual studio 2010 project which publishes an assembly called myAssembly.ddl.
I then want to reference myAssembly.dll from an existing vs 2008 project. If I try to load the reference it comes up with an yellow exclamation mark next to it, suggesting that the assembly wasn't loaded. However, I'm not getting any error messages ...
Hi, I read with interest the post "How universally is C99 supported ?". One of the comments therein points that Microsoft doesn't support C99. But the comment symbol // works with VS 2008 and this symbol is in C99. I have two questions:
To what extent VS 2008 support C99?
Is it ok in the same code to mix C89 and C99 syntax together? So...
Hi all,
I am writing a C program using Visual Studio 2008. I use F7 to compile and F5 to execute the program.When I press F5 an execution window contains the output. But I want the output to get saved to a text file. How to do this in visual studio. Please help me someone.
...
Hello, we have some Setup Project wrote in Visual Studio 2008 in C# that installs and uninstalls services with ServiceInstaller class.
When I install the services this don't get too much time, but when I uninstall with following code the process for each service get few seconds (and we have many services):
ServiceInstaller si = new S...
int arr[ 5 ] = { 0 };
int i = 8; // out of bounds
arr[ i ] = 8;
I know that I can just check i like this if( i < 0 || i > 5 ) ....
I also know about SEH in Visual Studio, but it looks like not working solution.
__try { /* code */ }
__except(GetExceptionCode() == EXCEPTION_ARRAY_BOUNDS_EXCEEDED)
This is not working. As I see SEH...
Hello everybody!
In a winforms application (VB, VS2008 SP1) i bound a checkbox field to a SQL Server 2005 BIT field.
The databinding itself seems to work, there is this litte problem:
user creates a new record and checks the checkbox, then the user decides to create a new record (without having saved the previous, so there are 2 new ...
Hi all
I just got finished making my first project in visual studio 2008. What I want to do is put it on a CD and let another person run it. I went to the clean and build and publish and all went well. When I took it to my friend's house to put it on her computer I never got a "download" and "install" screen.
We were able to see i...
Is it possible to handle a mouseDown event in VB.Net (2008) regardless of the control firing the mouseDown event? Basically, I just want to catch a mouseDown event at the "form level" and don't want to program mouseDown event handlers in every control. Is there a way to do this?
...
Why does the DataTemplate line break the WPF designer in Visual Studio 2008?
The program compiles and runs properly. The DataTemplate is applied as it should. However the entire DataTemplate block of code is underlined in red, and when I simply "build" the program without running, I get the error "Type reference cannot find public type ...
What are "directoryentry" and "directorysearch" controls in Visual Studio 2008? How do they work? What are there real-world applications? What about their properties?
...
I'm trying to open a user control in one of our projects. It was created, I believe, in VS 2003, and the project has been converted to VS2008. I can view the code fine, but when I try to load the designer view, VS stops responding and I have to close it with the task manager. I have tried leaving it running for several minutes, but it...
I am trying to add a .lib file to my project. I have the following in my main.h
#ifndef _UGP_MAIN_H_
#define _UGP_MAIN_H_
#include"StrandedEngine/engine.h"
#pragma comment(lib, "lib/StrandedEngine.lib")
#define WINDOW_CLASS "StrandedGame"
#define WINDOW_NAME "Stranded"
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
....
I followed the instructions in the documentation:
Scenario 1: Version Independent (does not use the Global Assembly Cache)
This method allows you to drop any new
version of the System.Data.SQLite.DLL
into your application's folder and use
it without any code modifications or
recompiling. Add the following code
to yo...
When using Visual Studio it is easy to extract an interface from a class that I have written myself. I right click on the class and select 'Refactor' then select 'Extract Interface'.
Let's assume for a second that I wanted to create a ConfigurationManager wrapper and write some tests around it. A quick way to do that would be to extract...