visual-studio-2008

In Visual Studio 2008, is there a way to create and managing css and html code snippets?

Does anyone know of a way to add css and html code snippets to Visual Studio 2008? I love my C# snippets, and HTML/CSS snippets would save a ton of time. ...

C++ Newbie: Having all sorts of problems linking

I am having several problems with tessdll in Visual Studio 2008. FYI, I created this app as an MFC application, I did this just to take advantage of the simple GUI I needed. It is just straight C++ and win32 from there on out. This builds fine as a debug release for some reason (as I have included the header files and lib files that I n...

DBML file not allowing a SP to be drag/dropped in, and is returning no message, just not executing

I have a new stored procedure I am trying drop into my methods pane of my dbml file, when I do this the screen flashes but the SP is never inserted. I can insert all the other Sps out of this database without issue. I'm assuming there is something in the way the SP is written but I'm not sure what. ...

Is there a way to set Visual Studio 2008 build verbosity on a per-solution or per-project basis?

I typically have several solutions open at once, and changing MSBuild verbosity manually has become a real chore. ...

Simple way to validate command line arguments

How to check if argv (argument vector) contains a char, i.e.: A-Z Would like to make sure that argv only contains unsigned intergers For example: if argv[1] contained "7abc7\0" - ERROR if argv[1] contains "1234\0" - OK ...

Delphi Prism / VS 2008: Switching from code to design with one key?

I've used several Versions of the Delphi IDE for many years. When i'm using Delphi Prism, i have to deal with Visual Studio - in my case especially VS 2008. One of the most annoying things to me is that i have to right-click on my form to switch to the code editor and vice versa. In Delphi, one could simply press the F12 key to switch be...

How to use Word MailMerge to send document to a SOAP Web Service

Hello, I'm looking for a way to use Word mail merge for sending merged documents to a webservice I'm using. This webservice accepts word documents. I would like to start a regular mail merge process, design my document, add a recipient list and merge fields. Then I would like to click a button which will cause Word to generate each docu...

Is it possible to build .NET 1.1 apps with VS.NET 2008?

I'm going to maintain an existing .NET 1.1 app for my client. VS.NET 2008 seems not to be able to build .NET 1.1 projects out-of-the-box but I don't want to install VS.NET 2003 just for this particular project. Is it possible to use VS.NET 2008 for .NET 1.1 development? How? ...

Why does Publish fail in VS2008 without an error message?

I have a web application that I am trying to build and publish. The odd thing is that when I do clean, build or rebuild everything seems fine. When I do a publish though I get the message that the publish failed, but get no further information: ========== Publish: 0 succeeded, 1 failed, 0 skipped ========== If in the copy section I ...

How to get Windows Workflow templates in Visual Studio 2008?

I'm working through the book Pro WF Windows Workflow in .NET 3.5 and on page 5 it shows them opening a new project in Visual Studio 2008, "Visual C#/Workflow" is selected and 8 templates are showing: Empty Workflow Project Sequential Workflow Library SharePoint 2007 State Machine W... State Machine Workflow Library Sequential Workflow ...

Visual Studio 2008 SP1 crash when opening MVC View

I have Visual Studio 2008 SP1 and ASP.NET MVC RC installed on a XP SP2 machine with .NET Framework 3.5 SP1. (That's a lot of SP's in one sentence!) I've a ASP.NET MVC project that I can edit just fine with Visual Web Developer Express. But opening a View page in Visual Studio 2008 SP1 makes Visual Studio to crash and vanish without even...

VS 2008 "Unable to connect to the ASP.NET Development Server"

I have VS 2005 and VS 2008 installed side by side. It is interesting that I can use development server under VS 2005. But when I tried in VS 2008, it gave me an error "Unable to connect to the ASP.NET Development Server". Any idea? Thanks! ...

Two test projects in one solution app.config problem (Visual Studio 2008 Professional)

I have 2 projects each one with its own unit test project, and one app.config for each project+test project pair. The tests do not fail if I run only one each time. But if use "Run all tests in solution" all tests will use just one of the app.config's, and it will be the wrong one for all tests in one of these test projects. How do I ru...

Copy-paste code from Visual Studio, but paste UNFORMATTED code

Is there any way to force Visual Studio to copy selected code to the clipboard as unformatted text? When I am copy-pasting code into Word or more often Outlook I have to do it via Notepad to get rid of the formatting...there has to be an easier way! ...

How do I add more than one project/solution on the same path to TFS

Hi, I am working on a C# project which must be built for more than one platform (.Net and CF.Net) and from past experiences I have found that the best approach that works for me is to have multiple parallel solutions present side by side in the same folder corresponding to each platform. All the code files, resources etc are shared by t...

How to delete object(s) from project when using deploy method?

When you delete an obsolete object from a project/solution, what's the best way to transfer this change into production? Does deploying have an option for this? EDIT: This is a database project in Visual Studio 2008, deploying to SQL Server 2005. Thanks ...

Visual Studio "Any CPU" target

I have some confusion related to the .NET platform build options in VS 2008 Does anyone have a clear understanding what does "Any CPU" compilation target is and what sort of files it generates? I examined the output executable of this "Any CPU" build and found that they are (who would not see that coming!) the x86 executables. So, is th...

Visual Studio syntax highlighting

Is it possible to get the same level of syntax highlighting in Visual Studio 2008, that SQL Server Management Studio has? This is regarding T-SQL. For example SSMS has separate highlighting options for operands, system functions etc, while Visual Studio 2008 only seems to have one 'keyword' for T-SQL. ...

Iron Python installed but project type missing from VS08

I installed IronPython.msi from Codeplex (http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=8365) and expected to see an entry for IronPython in VS08 (professional) when I go to create a new project but it is not listed. Where and what does this install add to my system? Am I missing something? C ...

Visual studio 2008 code snippets for another language

Is there a way to define code snippets for another language, other then the default ones (C#, VB ...) in VS 2008 ? I'm using Intel's fortran compiler with Visual studio, and its integration in it is pretty complete apart from the code snippets part. I thought I read somewhere on msdn that you can't define new ones, for other languages. ...