visual-studio-2008

Windows CE 5.0 image building: Possible without Platform Builder?

Is it possible to create Windows CE 5.0 images (ie: nk.bin) from VS2005/VS2008 without using Platform Builder? If so, how? Can a vendor BSP for WinCE 5 be loaded into VS2005/2008? Are there the parts to do this available for download from Microsoft (ie: the SDK), or must you buy the special bits (a la PB) from a "special distributor"?...

How to stop right click dead-locking Visual Studio 2008

I have a very serious problem with Visual Studio 2008. Occasionally when I right-click (for go to definition, set next statement etc) when I'm debugging, Visual Studio will just dead-lock and go into not responding mode. Has anyone had the same problem? Does anyone know how to solve it? Edit: I'm using SP1 with a couple of hot-fixes. ...

Installing a font on a client machine

I'm using Visual Studio 2008 and the built-in installation tools for a C# client application. How can I use this installer to install a font on the client machine (if it's not already there)? ...

Why do VS2008 spawn one Cassini for each web-site/application when going into debug mode?

I have quite a big solution here with a lot of different web applications and sites, around 10-15 of them. When I attach VS2008 to any process (most likely Nunit.exe or something similar) I get one Cassini process per website/application in the solution. Is there a quick way to get rid of this behaviour in VS or do I have to connect th...

How do I get the full name of the current user from a SQL Reporting Services 2008 report?

I know that the name of the user account can be retrieved from the built in variable User!UserID but how can I get the full user name of the user? I guess it would be possible to hook up some .NET code and do a Active Directory look up but are there any alternatives? ...

Catching Exceptions in a Spawned Process

I'm using VS2008 to debug an application that starts a new process. I believe that the spawned process is suffering (and handling) some kind of CLR exception during its start-up, but it is not being caught by turning on CLR Exception Notification in Debug -> Exceptions. Any suggestions on how I can see where the exception is generated? I...

JavaScript intellisense in Visual Studio 2008

Have you guys and gals got any tips or hacks for making the most out of the JavaScript intellisense options in Visual Studio 2008? Consider the following: var Persons = {}; Persons.Females = {}; Persons.Females.Julie = function (_mood) { /// <param name="_mood">Mood of Julie</param> /// <summary>Constructor function: Julie...

What plugin would you really like to have for Visual Studio 2005/2008

In a brilliant world what would you love to have a plugin to do in VS2005/2008? One answer per post please, and use voting to agree/disagree with ideas. ...

Cannot Access http://<tfs-server>:8080

I've installed TFS 2008, but I can't seem to access the server. When I try to connect to it in Visual Studio, I can't. If I try by browser on a remote PC, I get a generic page cannot be displayed. On the server, I get a 403. Nothing was touched in IIS and the service is running as a Network Service. Any ideas? ...

Auto-organize Visual Studio Tabs?

Is there any setting in Visual Studio 2008 to group/organize tabs? For example, I'd prefer to have all code-behind files open in a tab next to its .aspx page if that page is open and vice versa. Dragging tabs around really kills my productivity. ...

How to pass all Visual Studio 2008 "Macros" to Python script?

[NOTE: This questions is similar to but not the same as this one.] Visual Studio defines several dozen "Macros" which are sort of simulated environment variables (completely unrelated to C++ macros) which contain information about the build in progress. Examples: ConfigurationName Release TargetPath D:\work\foo\win\R...

Write VB6 on Visual Studio 2008 without .NET support?

I have to continue to support VB6 applications. I've got both VB6 (Visual Studio 6) installed and Visual Studio 2008 as well. Can I read and write to VB6 projects while in Visual Studio 2008? Will it damage or destroy my VB6 application? It would be very cool if I could free up a lot of space and get rid of Visual Studio 6. ...

Which program in Visual Studio lets me look into DLLs to see its API?

See the question. I want to see the methods and classes offered by a DLLs library. ...

Which language should I pick up: VB.Net or C#

I'm looking to pick up either C# or VB.Net. I'd done a fair bit of VB6 programming in the past. I'm looking at getting the book, Visual Basic .NET or C#, Which to Choose? but I'm hoping that someone has read it, or used both languages and can offer advice. Should I just RTFB? Edit: Anders Sandvig raised a valid question. I'm intend...

Best Practice: Potentially huge Winform grid?

Hi I am writing an application in VB.NET 2008 that manages software deployment and I want to display a "deployment overview" grid. The grid will be populated with the names of each application (top row) and the name of each workstation (1st column). The remaining cells will be populated according to whether the corresponding software t...

Embedded Outlook View Control

I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on Windows XP SP3 and Internet Explorer 7. My add-in is using custom Folder Home Page which displays my custom form, which wraps Outlook View Control. I get COM Exception with 'Exception from HRESULT: 0xXXXXXXXX' description every time when I try to set Folder property...

Autogeneration of a DataContext designer file when using SqlMetal and Visual Studio

I am using SqlMetal to general my DataContext.dbml class for my ASP.net application using LinqToSql. When I initially created the DataContext.dbml file, Visual Studio used this to create a related DataContext.designer.cs file. This designer file contains the DataContext class in C# that is used throughout the app (and is derived from the...

"Reuse existing types" is ignored when adding a service reference

I am adding a service reference to one of my projects in Visual Studio 2008. On the "Service Reference Settings" screen I am selecting the default option which says "Reuse types in all referenced assemblies". I have referenced the project for which I want to reuse a type. That type is being passed in as a parameter to a web method. Ho...

ASP.NET MVC CTP5 Crashing IDE

I've recently installed the MVC CTP5 and VS is now crashing on me when I try to open an aspx, I get the following error in event viewer: .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506) I was able to find This post on the asp.net forums relating to the same issue but nobody has had a working sol...

Project dependency missing in deployment project

I've got a VS2008 deployment project that builds an installer for a couple of Windows services. Each service references several different projects: CustomerName.MailSendingService -> CustomerName.Network -> CustomerName.Data -> CustomerName.Security CustomerName.ProductIntegrationService -> CustomerName.Core -> CustomerName.Secu...