visual-studio

Connect remotely to WebDev.WebServer.exe

Developing an ASP.Net website. Running IE8. Need to test website under IE6. MultipleIE6 install broken by IE8 install (can't type in textboxes, yes I deleted cache, yes I re-registered the dll's). Created VPC running IE6. Can't connect to host WebDev.WebServer.exe. Is there any way to configure WebDev.WebServer.exe so that it will acc...

Visual Studio: Printing all source files in a solution?

Is there a way to print all (*.cs) files in a solution at once, that is, without clicking on each of them and then hitting print? ...

Building Projects in Visual Studio

I am new to Windows and Visual Studio. I have a strong background in programming in Linux though. I'm trying to build (is build just one word for compile and link) a this sample code from a textbook. I made an empty project added the source and header files to the project. The code compiles fine. However, I get all these errors at l...

Visual Studio project is placing object files in unrelated project directory. help.

I have a visual studio solution that contains a project that builds a joystick handling library. Unfortunately, the output .lib file is placed in an unrelated folder on the drive. It is placed in another project. I noticed that $(TargetDir) is expanding to the unrelated project's path and not the current solutions path. How do I change t...

"Already listening" when invoking an RPC call

I use Microsoft RPC for interprocess communications. I have an interface with a set of methods accepting a byte pipe as an "in" parameter (IDL description): [ uuid(ActualGuidHere), version(1.0), pointer_default(unique) ] interface IMyInterface { //other irrelevant methods here error_status_t rpcDoAction( [in] pipe...

What does it mean when you get a compile error "looks like a function definition" for a class declaration?

I recently encountered this problem. I found many instances of people asking the questionhere, for examplebut no concrete answers. Here's the sample code hoisted from that link: class AFX_BASE_APPLICATION_APP_CLASS CFileExtension { public: CFileExtension (); virtual ~CFileExtension (); }; The error this generates is...

Best practices in Visual Studio C++

Hi all Visual Studio seems to want to put class contructor code and event handling code in the .h file. I have only been involved in small 1 man projects and was wondering what the general industry standard was. For Visual C++ Application projects what code would one put in the .h file? I am used to the mode classical C++ way of decl...

Create Web project for ASP pages in Interdev

How to create a web project in Visual Interdev for ASP pages. I need to debug the ASP pages. ...

Change Visual Studio installation folder after install

I'm running out of space on the partition that has Visual Studio installed. It's safe to copy the installation in another partition? ...

Shortcut key for 'View in Object Browser'

Does anyone know if there is a shortcut key for viewing the selected object (in the text editor) in the object browser? I am sure there was one, but I cannot find it, or anything that seems to work in the key bindings dialog. eg: string test = string.empty; if (string.isnullorempty(test)) { ^ caret here ....

Visual Studio 2008 does not show any "obsolete"-warnings

Duplicate: http://stackoverflow.com/questions/577132/why-are-c-collection-properties-not-flagged-as-obsolete-when-calling-properties I just migrated a .NET 1.1 project to .NET 2.0 using Visual Studio 2008. I know that there are references to obsolete methods in the project. But Visual Studio does not show "obsolete"-warnings after buil...

Embed Python script

Hi, I have some Python Scripts which I would like to use from my VB.NET class library however instead of increasing the amount of files that I distribute is it possible to embed the script into my project/dll in Visual Studio and then run the script from the dll during my program runtime? Thanks for any help. Rob ...

VBPROJ / CSPROJ

I'm trying to dig into the XML for a VBPROJ file. Does anyone know where I can find a good resource that explains the structure and attribute usage? ...

Visual Studio Play or Build to compile.

I recently had a problem with the Issue Tracker starter kit that seemed to be resolved by using the "build" option. Previously, I would typically use the "play" button to debug my app, then just stage the files when everything was working, assuming that the last time I hit the "play" button, it had fully compiled the app. Anyhow, I'm...

How Can I Debug a Specific Rowtest?

How can I debug a specific rowtest? I'm using Visual Studio and nUnit. TDD.NET addon is great but it doesn't let me to debug a specific rowtest, before coming to my test I have to go through all previous tests. I know there are some commercial solutions for this. I'm looking for a free (or really cheap) solution. <RowTest()> _ ...

Visual studio on windows xp

i need to run a few visual studios on windows XP and it seems to take up a lot of memory. i am also running resharper which is a memory hog. i am running 32 bit XP. How much memory can i put into my machine until i get to the point where the OS hits its limit. Also, any other ways of running multiple visual studio without such slow pe...

Can you add custom T4 Templates to the VS2008 "Add New Item" dialog?

I have created a set of templates that I want to share across multiple projects. Is it possible to add the template to the Project “Add New Item” dialog such that when I choose it an instance of the code file is generated from the template and added to the project? Update Thanks for suggestions Preet. That answers the question but I th...

Is it possible to connect to a server DB from Windows Mobile App

Is there any way that I can connect to a server DB (Oracle, MS SQL, Sybase, ...) from a Windows Mobile application (written in C# using VS 2008). Is there support for say ODBC or another technologie? I'm connecting to a LAN via WLAN or via UMTS. There is no possibility for me to install an additional server component. ...

Visual Studio Debug Visualizer for all types

When developing a Visual Studio (2005) Debug Visualizer, you have to specify the target type you want to visualize (i.e. a DataSet Visualizer would specify its target at TypeOf(DataSet)). However, what if you want your Visualizer to be able to visualize any object type? Specifying the target to TypeOf(Object) doesn't seem to work. Edit:...

Source code viewers to display parts of the same file side by side

Are there any tools or IDE features to allow viewing of different parts of the same file side-by-side. I've often thought this would be useful for analysing and refactoring duplicated code within a file. ...