visual-studio-2008

How to debug asp in VS 2008 SP1

Hi everyone, as the title says my question would be how to debug old asp code in VS2008 SP1? thanks in advance ...

Issues with .MSI install package created for IIS WCF Web Service - default dir and app pools?

I followed these instructions, and it worked well. http://blogs.cardwells.org/gis/2008/10/08/creating-installer-for-a-web-service-in-visual-studio-2008/ However, the default virtual IIS Diretory name is the same as my projet name. For example, my web service is called MyCompany.RCT.WCFWebServices, and my setup project is called MyCo...

Multi-Environment WebConfigs for One WCF Installer (MSI)

I've created a working Visual Studio 2008 "web setup project" that builds an MSI for my WCF web service. I would like to provide 4 different web.config files, one for each of four environments (Dev, QA, Staging, Prod). In other words, I know what the connection strings and our other web services should be in each of those environments...

Embedding resource in a C++/CLI project

Hello. I'd like to embed some files (text files, maybe graphics) in a C++/CLI project -- preferably the same way I can do in C# project. This might be however impossible, as I found in this post: http://bytes.com/topic/net/answers/571530-loading-markup-xamlreader-load-resource-file#post2240705. This was written three years ago, so maybe...

How to export a project in Visual Studio Team System

How can I export an entire Visual Studio project? I want to get a non-source-controlled copy on my local hard drive. I come from a SVN background and I'm just getting into TFS... In Tortoise SVN, I would use the export all command for this -- I would right-click the project directory and drag it to another directory and choose "Export a...

Visual Studio 2008 IDE errors with Inherited UserControls

Hi, have a really annoying time developing some code for a set of UserControls that utilize fairly rudimentary inheritance. Basically, they are three different Detail Views which all inherit from a single Base Class which in turn Implements a Single Interface. Interface IBaseDetailView Class BaseDetailView : Implements IBaseDetailView...

In VB 2008, why does manipulation of shorts take longer than integers?

In this example: Sub Button1_Click(sender As Object, ByVal e As EventArgs) Handles Button1.Click Dim stopwatch1, stopwatch2 As New Stopwatch : Dim EndLoop As ULong = 10000 stopwatch1.Start() For cnt As ULong = 1 To EndLoop Dim Number1 As UInt32 For Number1 = 1 To 20000 Dim Number2 As UInt32 = 0 ...

VC9 display details about the exception that just occured.

I'm debugging an application in visual C++ 2008 express. An exception occurs so the debugger breaks and waits for my instructions. How do I view the details of that exception, as an object, just like other stack level objects in the auto and local windows. For instance, in my immediate case its a std:exception. So chances are it has so...

Searching for an Program that controls other Programs

Hello, I'm using ubuntu (and WindowsXP as Virtual mashine on it). I need an automatic process: I want my computer to do every hour a SVN Update and after that my Visual Studio 2008 should open the Projekt.sln File and run the Compilation Process (It's a Windows Program I want to compile, that's why I have to use Windows). For the Compila...

Handle Debugger Events of Visual Studio 2008

Hello, I created an AddIn for Visual Studio, which should handle the case when the user debugs an application and an unhandled exception is thrown. I registered the events "OnExeceptionNotHandled" and "OnExceptionThrown" using the "Events" property of the application object. In the documentation one can read that these events get fired b...

Type ahead autocompletion in Eclipse

Hi Do Eclipse have a plugin for type ahead autocompletion like Visual Studio, so I don't have to destroy my spacebar by pressing Ctrl+Space all the time? (If you don't know how it works in Visual Studio, please don't bother answering.) And also, can I limit the autocomplete to imported packages, rather than every single java class on e...

How to compile .sln with cmd.exe

I tried to compile a .sln at windows cmd.exe with the following code: C:\absolutePath\devenv.com /Build /ProjectConfig "Release|Win32" I get following error message: Missing switch argument. Configuration name required for /Build switch. However, this works: C:\absolutePath\devenv.com /Build Release /ProjectConfig "Release|Win3...

Problems with the Add method of the list function.

I have a data structure (which is a class) called user_class and I want to load all the users data from a database. Currently I have While SQLreader.Read() Hold_user.username = SQLreader(0) Hold_user.BlahBlahBlah = SQLreader(1) Hold_user.Secret_Password = SQLreader(2) return_value.Add(Hold_us...

Visual Studio: Multiple post-build commands?

Visual Studio 2008 lets me declare a command and attach it to the post-build event for a project. Like a lot of developers, I use it regularly to xcopy files to the application output directory. I am working on a project where I need to xcopy files from two different places to two different destinations, all within a single project. In ...

How can I make Distribution files using Visual Studio 2008

I want to distribute the installer package to my clients. Please anybody provide me details information about how can I make setup.exe file for my visual studio 2008 projects. If I am failed to provide any necessary info please let me know. Thanks in advance. ...

Checking "Client-only Framework subset" in C# project properties have no effect (VS2008), is this normal?

Hi, I wanted to try to deploy our project for .net 3.5 client framework (so that we could distribute it with smaller runtime), but when I go to VS 2008 Project properties and check the “Client-only Framework subset” checkbox (and click Save all), it has no effect - the .csproj file does not change (the diff for whole project is empty), a...

Trying to have seperate virtualdirectories for braches without TFS soltuion change?

I am having a trunk and two branches for an asp.net application. To run all three in a pc i need to create different virtual directory for each project. How could it be done so while merging changes from branches to trunk will not bring that virtual directory change as well? I am using Visual studio 2008 TFS 2008 ...

Access Denied in SQL 2008 EXPRESS

Well now at the end of my program I'm facing an access denied Dim sqlFile As SqlFileStream = New SqlFileStream(filePathName, fileToken, FileAccess.Write) This is the last command in order to write the STREAM image in the table. This command returns me an 'Access Denied' error no other comment. I have give in my account a Login rela...

Visual Studio 2008 + Windows 7: Setup Projects hanging

We have Visual Studio 2008 Team System (SP1) installed on Windows 7 on a 64-bit desktop machine. Our solutions contain setup and deployment projects (vdproj). When Visual Studio loads, it hangs trying to load the setup projects. This also happens to newly created solutions entirely in this environment so it is not something lagging f...

Are Visual Studio pre-build events guaranteed to finish before compiling starts?

I'm using a pre-build event in Visual Studio to run a batch (.bat) file that performs some code generation (specifically, I'm running SqlMetal.exe to generate LinqToSql code). Is the batch file guaranteed to finish before the compilation begins? Or does it run the batch asynchronously? Bottom line: I want to make sure the new code gets...