visual-studio-2008

Remote debugger causing visual studio 2008 to exist debug mode

A very strange problem - I have two machines, Local and Remote. Remote is running Visual Studio (2008) Remote Debugging Monitor. I develop on Local, then during build VS copies the necessary files to Remote. I then press F5 and Remote starts running my code. Breakpoints allow me to access the debugger on Local, single step the code etc....

resharper 4.5 making VS2008 very slow especially with ASPX pages

Hi, I am using Visual studio 2008 with Resharper 4.5 add-in. the Visual studio performs well on its own, but when I add resharper it slows down and VS freezes for a while every time I type and save the code. the performance is even worse when I am typing and saving aspx files (mark-up or javascript). the solution has around 35 projects...

Creating a Template Item from a web form and auto generating the Inherits page directive

OK, so I'm trying to create a template item from a web form. I have referenced this article: http://www.west-wind.com/weblog/posts/740022.aspx and it exports the template and installs it fine. When you try and use the template item within a project though it leaves the inherits="_Default" in the page directive like shown below: <%@ Pa...

Can you 'kill' to the end of a line in Visual Studio 2008?

In Unix-y editors, you can often press CTRL-k (kill) to delete everything after the text caret position on the current line. Is there an equivalent "single action" in the Visual Studio 2008 text editor? ...

How do I change the default toolspath for Visual Studio 2008?

I had Visual Studio 2010 beta 1 installed, and I removed. Now, when I try to crate a project in Visual Studio 2008. I get the error "MSBUildToolsPath is not specified for the ToolsVersion "4.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\TOolsVersions\4.0", or the value specified evaluates to the empty string". How do I cha...

Visual Studio becoming out of sync with the file system

I was doing some refactoring today and accidentally renamed a class. I realized my mistake and used undo. After I was done I successfully built and ran my application. No files were marked as being changed in the VS GUI. I then committed my changes using AnkSNV. The cruise control build promptly failed. A bit of investigation...

Several columns in Visual Studio 2008

Is it possible to have 2 or 3 columns of the code in Visual Studio 2008? ...

Why won't my Setup Project Perform my Custom Registration Process

I am trying to write an Setup Project/Installer for a class library driver that I wrote in C# using Visual Studio 2008. The driver project has a section of code that looks like this... [ComRegisterFunction] public static void RegisterASCOM(Type t) { Trace.WriteLine("Registration Started."); DoRegistration(tru...

ASP.NET 2.0 - Add Web Reference does not generate asynchronous proxy code

I am trying to add a web reference to an ASP.NET 2.0 application in Visual Studio 2008. However, the generated proxy classes do not include BeginXXXX and EndXXXX methods. How can I get these to be generated? Do I need to manually use wsdl.exe? (Incidentally in ASP.NET 3.5 apps, there is an option in the Add Service Reference box which...

How do I add MFC ActiveX control to an existing activex project.

In visual studio 2008 I can create an MFC activex project and it presents a wizard to create a single activex control. I now want to create new controls within this project. I can't find any way to do this. ...

Class file in visual studio 2008

seWhen i creating a new class file i got these namespaces by default, using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System....

Developing sharepoint solution in visual studio 2008

I want to develop sharepoint solution in visual studio 2008..i have installed visual studio 2008 extensions for sharepoint from microsoft site. I am in search of free videos or tutorials that explains me step by step development of sharepoint solution using visual studio 2008 (using installed sharepoint templates) Any good links? ...

C++ equivalent of .net Stream?

What is the base class of all the streams in C++? Also what is the equivalent of MemoryStream in C++? ...

Components, dynamicly creation and work with them

Hi all, I have to develop Windows C# application, using Visual Studio 2008. It have dynamical to create pictureboxes, to add image in it, and to move picturebox to some X position. So, I have windows form with next components: button, with title "Add new" Combobox Text Field another button, with title "Set position". Also, I have o...

code anaylsis node missing from Visual studio 2008

I want to have a look at the VS code analysis tools. This msdn page suggests: Expand the Configuration Properties node. Expand the Code Analysis node. Unfortnately when I expand the configuration properties node I only have the options: General, Debugging, c/C++, Linker, Manifest tool, XML Document Generator, Browse Information, Build...

VB 2008 or VB 2010 Dataset help

I have three forms similar to the one in the link. I want add a Total textbox to every form. The total will add the values that will be entered in the montant textbox. So the total will take the specific value of that texbox for all the entries that the user will have and add them. How I can do so???? Thanks http://i1006.photobucket.co...

Can you set a JavaScript breakpoint in a UserControl?

Visual Studio 2008, ASP.NET. Can you set a JavaScript breakpoint in a UserControl ascx page? I can set it in an aspx page. ...

List All Data Sources and Modify in Visual Studio 2008

I've taken over an ASP.NET project and the previous dev used "dynamic" DSNs sprinkled throughout the application. These data sources are databound to several controls throughout the site. I'd prefer to use a system DSN that I would define on my dev machine and the production web server. This way if I need to change the location of the...

Efficiently allocating many short-lived small objects

I've got a small class (16 bytes on a 32bit system) which I need to dynamically allocate. In most cases the life-time of any given instance is very short. Some instances may also be passed across thread boundaries. Having done some profiling, I found that my program appears to be spending more time allocating and deallocating the things...

Why is my asp.net mvc publish not working anymore?

I'm running asp.net mvc and have been since last April. All along I have been publishing my site using the Publish feature in Visual Studio. This week, I added some telerik scripts and the jquery 1.4 script. For some reason, when I try to publish, it's failing on the jquery script. All the telerik scripts loaded fine and they are in ...