visual-studio-2008

How to not start Web Application project in a solution during debug VS.NET 2008

I've got a solution with WinForms and an ASP.NET application. My startup project is WinForms but every time I run the project it starts the ASP.NET Webserver even though I don't want to use it. I looked into everywhere in "Property Pages" and couldn't find an option to stop this. Also it's not possible to unload the project without rem...

How to build a new VS2008 WPF solution/project when you've lost the .sln and .csproj files?

I have an old VS2008 solution that had one project in it. When I double-click on the .sln file it says that nothing can be found (I had renamed some directories). So now what is the best way to take my main files (Window1.xaml, App.xaml, Properties folder, and about 10 other class files) and recreate a solution and project for these ma...

How to change the column order in a SQL Server Compact Edition table schema?

I'm using Visual Studio 2008 to design a SQL Server Compact Edition database (*.sdf). I had to change the schema of one of my tables adding a new column. I want to "move" that new column from the bottom to a different position in the field list. How can I do this in the Visual Studio designer? EDIT: I know that from a pure technical v...

Visual Studio 2008 creates useless, empty output folders

This behavior annoys me quite a lot. I specified '....\bin\Debug\' as output folder for all projects. When opening a solution, VS creates an empty bin/debug (or /release when in release mode) folder in the parent directory or even the parent of the parent directory of the actual bin folder specified in the project files. After deleting ...

Brace highlighting Visual Studio 2008

Brace highlighting works with the default color scheme in VS 2008. I downloaded and I'm currently using the VibrantInk theme and the braces aren't highlighting. I've gone through the options even changed the ones that said brace highlighting and nothing. Any ideas as to whats going on? Also, when I am typing out strings and I put the...

Using SSIS to build a database from a VS2005/2008 database project

How do I allow an SSIS package to consume a Visual Studio 2005 or 2008 Database project which houses the creation scripts for the tables and other objects (note: this is not Visual Studio Database Edition - just Pro with Business Intelligence)? The idea is to use this to recreate my test instance by building the schema from source safe...

How do I connect to an Access 2007 (accdb) file in Visual Studio 2008

I'm in a college class using the Microsoft visual studio 2008 for visual basic and i have a project where i'm supposed to connect a database but it can't recognize the database file as a database. I followed the book exactly so i don't know what the problem is. ...

Why is Visual Studio skipping over my Exception from a ThreadPool work item?

I am aware of this other post, but it doesn't seem to apply to my situation. First off, here is my environment: Windows XP 64-bit SP3; Visual Studio 2008 w/ SP; .NET 3.5 SP1; WPF application. My problem is that I cannot seem to step to where my exception happens. It just keeps running instead of continuing the debugging session. Her...

where is the threads window in vs2008

Hi, I'm trying to find the threads window in VS 2008 described here and here, but I can't find it anywhere. I've looked in View and don't see anything remotely like this. This seems very useful. Thanks for any help EDIT: yes i am debugging EDIT: thanks, I found it! ...

Help using the Office Interop for Word and Outlook 2007 in VB.NET

I need to start utilizing the interop in my programs to automate several functions in Word and Outlook and I was checking if anyone knew a good place to start. My ultimate goal is for my program to kick off a mail merge, create several different files and save them accordingly, then e-mail the different files to different people based u...

Toolbox issue for RDLC in design mode VS2008

I am attempting to design an RDLC report, however my toolbox is filled with about 10 "Textbox" controls and an odd, empty #13119 control group. I can find no other controls. I have attempted several command line switches to rebuild the VS cache, but nothing works. Do I need to point to a particular DLL to pull in the toolbox controls?...

Cut the 1st 3 char in a string with vb 2008 (vb.net)

Does any one know how can I cut the 1st 3 char in a string in vb 2008? For example: Dim i As String = "ABCDEF"; I want to only cut the 1st 3 char and the system will only display "ABC" after the 'cut' action done. ...

Changing colour of types for VB.net in VS

I am currently working on a VB.NET project and the hardest thing that I am having trouble with is that everything is black and blue. Having worked a lot with C#, I really like the way that types are colored differently. I have tried going in and having a look at the "Tools > Options > Fonts and Colors" and the various "User Types" un...

msbuild fails to register output

Hi, I'm trying to get our build scripts (which use MSBuild) working correctly on Vista and am finding that projects that have the Register Output (in linker options) option set to True fail to build from the command line with something like this: Project : error PRJ0050: Failed to register output. Please try enabling Per-user Redirect...

How to make Error List window automatically active during compilation in visual studio?

Hi How to make Error List window automatically active during compilation in visual studio instead of default Output window? ...

Localization in ASP.NET MVC

Visual Studio 2008 I want to bring some localisation into my ASP.NET MVC site. Someone suggested creating a resource file "Strings.resx" as a publically strongly typed resource, which works nicely and allows me to write <title><%= Strings.MyView_Title %></title> I then proceeded to add a file "Strings.da.resx". This file is created ...

Preventing UNC Share error at build time

At work we have a bunch of sites hosted on our development server. The folder containing all these sites is mapped as a network drive. In VisualStudio I open the root of the site as a WebSite and when I build the site I alwys get this error. Error 4 An error occurred loading a configuration file: Failed to start monitoring changes t...

What could cause ASP.NET to skip lines in debug?

I never had this problem before, but I reinstalled my computer recently and Visual Studio is not behaving well in debug for an ASP.NET site. I am attaching visual studio 2008 to the w3wp process to debug a website. When I am debugging a method line by line with F10, sometimes visual studio will decide that it continues until it encount...

Limitations in Mono for a .Net framework developer

Hello, I want to switch over to Mono from .Net (plus Visual Studio to whatever IDE in Mono).Is this going to be really tough? What are the issues I would face? Thanks ...

Using visual studio for developing mono applications

How do I use Visual Studio to develop applications on Mono? Is this possible? ...