visual-studio-2008

VS2008 Team Test Project is not loading.

Whenever I open a VS2008 solution containing a VSTT project I get the following message: What is missing in my VS2008? Do I need to install Visual Studio Team Test? But it is not free. A 90-days trial copy is available on the net. Can I use any other software plug-in to load this project? ...

Forms not closing when they should

Hey all, i have a problem with trying to get 2 forms to close at different times using a timer on each of the 2 forms. This is my form layout: frmMain Frm1 Frm2 Frm1 and Frm2 are identical to each other. FrmMain has 2 buttons on it. One button to call Frm1 and the other to call Frm2. Frm1 and Frm2 each has a timer. It counts down to ...

Does anyone know what causes this error? VC++ with VisualAssert

Hi does anyone know what causes this error? In Visual Studio 2008 with Visual Assert Thanks 1>------ Build started: Project: ChessRound1, Configuration: Debug Win32 ------ 1>Compiling... 1>stdafx.cpp 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocnum(135) : error C2857: '#include' statement specified with the...

VisualAssert Testing in C++, Loading a test fixture.

Good day, I am learning Testing in Visual Studio C++ and I have several tutorials which I have followed. I am trying to load a test fixture. I have tried to put the test .cpp file in many different places but it will still not pick up on it when I click on "Run Tests" or "Run Tests without debugging" In the tutorials I found, they seeme...

How to check code is compatible with Windows 7

Hello, We are developing using Visual C# 2008 Express a program based on WPF under Windows XP machines (32 bits). The thing is that we have tried to run the program in two Windows 7 machines, one is 32 bits Windows 7 and the other is 64 bits Windows 7. Under Windows XP everything is fine. In Windows 7 machine, it launches in the 32 bi...

Can't set breakpoints on an auto-property setter ? Why?

Apparently VS 2008 does not allow setting a breakpoint just on the setter of an auto-property. I.e. if I define an auto-property like this: public int CurrentFramesize { get; protected set; } and then try to set a breakpoint on the setter line, the whole auto-property turns breakpoint-red. This works j...

VC++ and VisualAssert

Hi, For some reason I can't get my test's to load in my project. In the test explorer it says "This process exited without registering with the agent - this may be due to the module not containing any test fixtures" ....I've tried Right Click->Add TestFixture, and adding them other various ways I can get it to work on a blank projec...

How to concatenate strings in Visual Studio 2008?

Hi everyone, I have a question about report modeling in Visual Studio 2008. When I preview the report, I get something like this: http://i39.tinypic.com/2nlu49z.jpg Though, that is not exactly what I need. I don't need rows 1,2,3 to be repeated two times. I would like "x, y" to be together in one row, and only one instance of rows wit...

program to Unit Test in Visual Studio 2008 VC++ (.exe file)

What program is best to unit test a exe targeted project in Visual Studio 2008, VC++? ...

Sharp font edges in Visual Studio Editor

I re-installed my PC. I am noticing sharp font edges in the text editor of Visual Studio 2008. It looks worse when I change the fint size to 11 and above. I also tried several fonts, same thing. I am currently on 'Consolas'. Any ideas wher I should look? ...

Create MSI for slipstream SQL Server 2008 install

I am looking at creating an MSI that will check/install the prerequisites of SQL Server 2008 and after the prerequisites are installed I will start my slipstream 2008 install. I am currently trying to do this through VS 2008 Deployment Projects, but I cannot just simple add the folders of the SQL slipstream into the setup project withou...

Visual Studio Controls Toolbar

I have a Windows Forms project in Visual Studio 2008, which references a library that provides some custom user controls. Is there any way for me to drag instances of the controls in this library onto forms that I am creating in the visual design view? Thanks. ...

Consecutive build of VS2005 and VS2008 C++ projects causes LNK1104 error

I have VS2005 and VS2008 installed on the same machine. I also have a common codebase that I build using both '05 and '08. For this purpose, I have 2 VC projects.. A '08 project called XYZ_2008.vcproj and a '05 project called XYZ_2005.vcproj, and the corresponding 2 slns as well. Both projects output dlls, libs and pdbs to the same outpu...

Trying to get excel 2003 into already made windows form

good afternoon everyone :) I got sucha dilemma! (hate being new at stuff!) What my problem is is that I have a project that is in full design mode swing right now. I built it using the Windows form.. Anyways, on one of my forms..that I already started building (very painstakingly).. Minds have changed and now what needs to be on that ...

Refresh tables in Visual Studio?

How can I refresh the tab in Visual Studio for a database table? Currently I re-open the table but I would think there is a way to refresh the table. I am referring to tables opened via the Server Explorer/SQL Express. The clear results does not seem to refresh. ...

Launch Condition - Check if a service is running

In VS2008, how can I check whether a windows service is running int he launch condition? ...

Is there a way to call custom method of Custom Role Provider class

Hello friends, I have created my own custom role provider class "SGI_RoleProvider" and configured properly. Everything is working fine. Suppose that I have added a public method say "SayHello()", then how can i call that. Because if i am using Roles then the method is not displayed. If i am forcefully using that Roles.SayHello() then c...

C# - null vs "Could not evaluate expression"

I have code like this: private Box mCurBox; public Box CurBox { get { return mCurBox; } set { if (mCurBox != value) { mCurBox = value; } } } When mCurBox is null then CurBox the debugger says "Could not be evaluated". If it knows tha...

how can I make a "downstream only" copy of a file in TFS

I've got this SQL script that needs to exist in two places in source control. I want to have only one real copy of this file and keep a virtual copy of the file in the other solution. One is needed for a unit test and the other for a development tool. The files, should, by definition, always be the same. If they have differences then the...

in visual studio 2008, when I stop debugging an asp classic website visual studio always crashes

We are running visual studio 2008 (with the service pack) and having troubles when we are debugging an asp classic website. The server is windows 2003 sp2. We are using windows authentication. We have a virtual directory that is an asp.net web application. We can attach to the w3p process and debug just fine. breakpoints work, we ca...