visual-studio-2008

How can I make a code snippet and add it to the Snippet intellisense in Visual Studio?

I'm curious if this is even possible. ...

winform application exception DragDrop occurs outside of IDE

hello, My winform application is failing when run outside of the IDE with a dragdrop exception. The error does not occur while being run from inside the ide (VS2008). How can I trace this. I have seen mention of using JIT in the error box that is displayed post error - will this help me trace my problem? ...

Visual Studio Cannot Open File

I'm working on my first project in Visual Studio and I haven't used Windows much since '05, so please bear with me. I've got my project open in Visual Studio 2008, and I'm trying to open a particular file for editing, but I get an error that says "c:\path\to\file Cannot open file. I've verified that the file exists, and I can open ...

Visual Studio Intelligent Project Templates

I need to construct a Visual Studio project template that has a certain amount of intelligence. I've discovered a way to get Visual Studio to call my custom code upon creation of a new project from my template, the custom code displays a dialog box and gathers information from the user, then defines additional substitutions that the proj...

Using IIS6 as ASP.NET development host in Visual Studio 2008 on Win7

I've inherited a ASP.NET 1.1 webapp that runs in production on win2k3 under IIS6. I'd like to closely match this environment during development and testing. For reasons I won't go into, using Cassini/VS Development Server isn't ideal so I'm trying to set up my Visual Studio environment to use IIS6. I do my development on VS 2008 on Win7,...

How I can Connect to Oracle in ADO.NET Entity Data Model.

Somebody advice me to use Entity Framework here when I asked this question: what is better to build Data layer, Strongly Typed DataSets or Classes So I read a lot of articles about Entity Framework, I understood that Entity Framework designed to be data-source independent and it will support most of the popular DBMSs. I Have vs2008 wit...

datagridview combobox column

Hi. I have a datagridview with two combo boxes, all the cmb are bound to bindingsources The first cmb has the customers where the customers has projects The second cmb has the projects of the customers When I select a customer from the first cmb I do this (between others) If Me.StaffExtraPaymentsDataGridView.CurrentRow.Cells(1).IsIn...

How to open and run this website in VS 2008?

i have the source code of a website in the below address http://www.sourcecodeonline.com/details/aspportal.html How to run this website and edit it in VS 2008 ? there is no solution files here .. ...

website compile error

I am experiencing the following error while loading a website: Server Error in '/DatingGridView' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately....

Editing RDL files with Visual Studio 2008

Hi, I have installed SQL Server 2008 Express on two workstations. On one workstation, it has updated the VS2008 installation so that I can create reporting projects containing reports as *.rdl files. On the other workstations, VS2008 can only create/edit *.rdlc files. The report edition interface is also different. I do not understand ...

Special characters and MSI

Hi I have to have password input into an msi I created using Visual studio 2008. But I notice that if a password have ‘ “ ‘ character in it. I Get a FileNotFoundException. Is there a setting in Orca that can correct this? Have tried other special character and they work fine. ...

VS 2008 debugger: How does it decide what Cassini port to run a web service under?

I have a VS 2008 solution that includes a web site and a web service. I'm developing both at once, and it's helpful to be able to debug from one into the other. It occasionally can't find the web service. If I look in the web.config, I find the port number it's looking at is not the port number it auto-runs the service in when I use the...

Hide WPF elements in Visual Studio designer

I have a WPF form which basically looks like this: <Window ...> <Grid> <DockPanel> [content shown during normal operation] </DockPanel> <Grid Background="#CCCC" Visibility="Hidden"> [overlay grid which is only shown during special circumstances] </Grid> </Grid> </Window> The overlay grid hides everythi...

Why does visual studio ask give option to discard in-memory changes?

When I save a solution that I have actually not made any changes to, I often get a dialog that tells me "Checking out without saving will cause you to lose your in-memory changes". It gives me a few options, Discard In-Memory changes, Check-Out, Cancel, and Save-As. Is there way to prevent this from happening? ...

Visual C# error when changing anchor for multiple controls

Visual C# 2008 is giving an error when I attempt to change the anchor for multiple controls simultaneously. This error does not occur when done individually. Property value is not valid. Could not find file 'C:\Users\user\Documents\Visual Studio 2008\Projects\test\test\Resources\WelcomeBorder.png'. The image was previou...

VS2008, reporting via RDLC gives problem with 2nd level objects due to lazy load

I have a report that tries to show Order.Customer.Address.Line1 in a report. My Order object comes from a Linq2Sql DBML file. In the report i define it as Fields!Customer.Value.Address.Line1, but it comes out as "#Error". I then tried "touching" the variable before passing it to the RDLC, and lo-and-behold it suddenly worked. Apparen...

Change VS2008 to use C# view

When I installed VS2008 and it asked me to pick my layout, I accidentally picked Web Development. Is it possible to go back and make it apply the C# layout? ...

Visual Studio keeps pegging the CPU for Intellisense as I type

Why would Visual Studio all of a sudden start using tons of CPU as it tries to implement Intellisense? I happen to be working with LINQ queries in VB.NET, but no idea if that's related or not. I've tried closing and reopening VS, but that has no effect. I'm not sure what else it might be related to, which makes researching it difficult a...

Bitwise Property Values in Designer

I have an abstract user control(baseModule) that has a property that I plan on using a bitwise comparison on to determine what export types are supported by that module. In the designer of a module derived from baseModule, I am presented with a combobox with the ability to just select a single value (Html, Xml, etc.) I would like to be...

Change default Webdev.Webserver Physical Path on a VS2008 project

Hello. I think I've seen this done once, but I cannot find it again after a long Googling/Binging session! I'd like to create a new ASP.NET MVC project, then create a folder "Web" inside the project, and move all the "web-related" files to inside this folder. The problem is that when creating this folder structure, I cannot simply pres...