visual-studio-2008

How do I unload all open forms in VB.NET?

In the middle of converting VB6 code to VB.NET, I need to replace the following code that intends to close all open forms remaining in the application. 'close all sub forms For i = My.Application.OpenForms.Count - 1 To 1 Step -1 'UPGRADE_ISSUE: Unload Forms() was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local...

project does not contain a configuration called 'Debug|x64'

Hi, I'm trying to build a C++ project with a build configuration platform of x64. It's on a new machine running a 64 bit Windows Server 2008. When I open the build configuration manager in VS, I can't chose or create the x64 platform and the project gets skipped. When I try to build it with MSBuild I get the error: VCBLD0004: Project 'M...

Disabling EnterpriseLibrary integration with VS2008

Does anyone know of a quick way to disable the Enterprise Library integration with VS. The problem is that it latches onto the AppDomain.AssemblyLoad event, and crawls through 30+ projects everytime an assembly get loaded by VS, which happens frequently if you have Workflow projects. VS becomes unusable for a few minutes everytime this h...

Which should I install first: Visual Studio 2008 or SQL Server 2008?

Hi, Half a year ago, I installed Visual Studio 2008 and SQL Server 2008. I don't quite remember which I installed first, but since then I am unable to connect to any file-based SQL server databases from the Visual Studio IDE. I think it was related to a bug in Visual Studio, the fact that I had previously installed Visual Studio 2005 on...

Difference between 'Web Site' and 'Project' in Visual Studio

Duplicate http://stackoverflow.com/questions/344473/asp-net-website-or-web-application-project I have noticed that there is clearly a difference in what you get when you fire up Visual Studio 2008 and choose 'New Project' -> 'ASP.NET Web Application' instead of 'New Web Site' -> 'ASP.NET Web Site'. For example if you choose 'Projec...

how do i connect my asp.net

Another beginner question for ASP.NET: I'm starting an ASP.NET project in Visual Studio 2008, and would like to link it to a folder on a remote server (as in it builds/publishes to this folder). It may be my phrasing, but I cannot seem to figure out how to do this (even with Google at my side!). I naively tried to just upload the code...

Compact-Framework: Windows Installer Question

Hi all, I've finally finished my killer app and now I've got a bit of an issue. I've created my cab file (builds fine and installs perfectly/runs perfectly on the PDA device) and now I'm trying to create my windows installer. I've followed an MSDN article of how to create the installer (see here), however it seems to be missing some in...

LNK2005 - Visual Studio - Compiled before fine, no changes, not compiling now

Hi. I'm working on a project for school with data structures in Visual C++. I got my code compiling just fine earlier today, and took it home and it no longer works. Both machines I've been working on use Visual Studio 2008. Here's the text of the error. I'm not sure if this might have anything to do with it, but my program has 3 main c...

Go to file in Visual Studio

I've recently started a new job working with webdevelopment in .NET. Coming from a php and rails background i've been working mainly in Eclipse and NetBeans, along with some TextMate. I find myself missing a few great keyboard shortcuts and i can't seem to find a Visual Studio equivalent. NetBeans has the awesome "Go To File" and so doe...

GIve me short cut for visual studio 2008 IDE

In eclipse, F3 or Ctrl+mouseClick in particular on a (function, class, interface, variable) name opens the corresponding (function, class, interface, variable). but in visual studio only a same class method definition opens using F12. What is the corresponding shortcut to Eclipse's F3 / ctrl+click ...

Are There Any Plugins to HTML Encode Text in the VS Text Editor?

This may be a simple question since it seems such an obvious tool for any web dev.. I currently use a free web-based thing when I need to encode strings, but I was curious to know if anyone knows of a plugin for VS that will allow you to HTML encode text in the Text Editor? ...

ASP.NET Unit Testing

I'm searching for a good ASP.NET Unit Testing tool. Googling gives me some tools, but I would like to get started with a good tool. Any experience with these tools? Is there a way to do ASP.NET Unit Tests with the build-in Unit Testing in Visual Studio 2008? ...

Visual Studio adds columns to DataGridView after running program

I have a datagridview that is linked to a three columns in the database, and it's only displaying them (no editing). When I run the program in debug, and exit, when I return to the form in Visual Studio, it has my three columns, plus all the columns in the table it's linked to. If I don't remove these, the next time I run the program, th...

Custom Control and Visual Studio 2008 SP1

I've created a custom control (a class that inherits from Control). When I put it on a Form I can work with it on Visual Studio IDE. It shows me an error and I don't see the form. The error message is this: La variable 'ctrlImagen' no está declarada o no se asignó nunca. It's a winform for a Compact Framework app. How can I solve this...

Would you like to continue and run the last successful build?

You're in Visual Studio... you press F5 (Run) and are greeted by this dialog: There were build errors. Would you like to continue and run the last successful build? Wonderful. I'm sure there are cases where running the last successful build is useful, however, I have never purposefully answered yes to this question. Oh sure, I've ...

VS 2008 C# Build not showing all the errors?

VS2008/C# newbie here. If I open our project, have no code files open, and hit Build Solution it'll show about half a dozen errors. Fine. When I start double-clicking open the individual code files (or double click on the error line) more errors start to crop up, and not necessarily about the file that I just opened. It seems like ...

Is Visual Studio Team System Database Edition stable?

I am trying to find out if it is worth moving to this system, and would like to know people's experiences with it? Have you found it to be stable? Buggy? What are some of the issues you have had with it? ...

Is there a clean way to set a VS 2008 setup project's properties at build time?

I have an Office add-in project with a setup project for deployment (using VS 2008), and I need to build the same product in a few different flavours. I'm looking for a good way to make the installer resources dependent on the build configuration. The product name, manufacturer, manufacturer url, author, etc., etc. properties should b...

Northwind Starters Kit

Is the Northwind Starter Kit from Codeplex a good starting point to learn more about how to best architect an ASP.NET application? Is there something similar for the AdventureWorks database examples? ...

Can't debug in web express edition

I have following configuration Vista home premium iis7 studio web 2008 express edition trying to debug asp.net 3.5 application. But if try debug it with f5, application runs but debug does not start. What could be wrong? ...