visual-studio

Visual Studio: How to automatically attach debugger with a managed engine to an unmanaged application

I'm following these instructions, How to: Launch the Debugger Automatically, and I am able to have debugger being launched, but with a twist: I'm working on a x64 box, trying to debug a Word MANAGED plugin, but since Winword.exe is UNMANAGED and on x64 Visual Studio doesn't support mixed debugging, I'm trapped :-) Any tip, other than wo...

Visual Studio Project Files and Source Control Bindings

Hello, I am copying projects in one solution that is bound to VSS from one solution to another that is not bound (or shouldn't be). When I copy the original project and add it to the new solution, it's showing as checked in and VS is remapping the working folder in VSS; I want this new copy to not be bound to source control and not do ...

Visual Studio Stops, Goes To Debug Mode, But I Don't Know Which Line It Is Paused At

I have a strange problem with Visual Studio. I imported an existing project into a solution and now when I run it, it stops running and goes into debug mode. The problem is that while in debug mode, there's no yellow highlighted line indicating where the code has stopped. Any suggestions? ...

How do I debug a .net application as a specific user?

I'm creating a WinForms application in Visual Studio 2008. I want to run my application in the debugger and I want the application to run as a user other than the user running Visual Studio. What is the best way to do this? ...

How to make a Visual Studio C++ project structure match the file system structure?

I'm currently using Visual Studio 2010 Professional. In my entire experience with Visual Studio (since version 6), a C++ project structure was always virtual. In other words, when I move files around and create folders in the project, this had no bearing on the actual structure on the filesystem. I've always had to manage the two indepen...

Website for Mobile Devices - Using Visual Studio

Hello, I am new to Mobile specific website development. I want to know does Visual Studio provides way to create a web site which can be targeted to mobile devices? Also can this website be run on phones running on OS other than Windows OS like iPhone, Android or slimier other OS? My aim is to develop a website which can be targeted to...

Known Issues installing Visual Studio 6 with VS 2005 and 2008 already installed

Has anyone encountered any errors when installing Visual Studio 6 on a machine which already has 2005 and 2008 installed? ...

Viewing what interfaces a class implements in Visual Studio

I feel like the answer will be a "oh, THAT button, duh" sort of thing for me, but I can't figure out a quick way to do what I want, so here goes. I've read the best practices around always wrapping "using" statements around objects that implement IDisposable to clean them up properly, but that got me thinking: "well, how do I know it im...

Why is MSVC yelling at me here?

class PevSearch { boost::shared_ptr<FilterProvider> filterProvider; public: void RegisterFilter(const boost::shared_ptr<FilterProvider>& toRegister) { filterProvider = toRegister; } const boost::shared_ptr<const FilterProvider>& GetFilter() const { return filterProvider; // Compiler reports "Return...

Why is errno not found in Visual Studio 6.0?

#include <errno.h> /* compress until end of file */ do { strm.avail_in = fread(in, 1, CHUNK, source); errno; //<-----DEBUGGER "CXX0017: Error: symbol errno not found" perror("Error:"); if (ferror(source)) //<--ferror = 32 but there is no string from perror? { //error handling ...

Compile error with embedded assembler

I don't understand why this code #include <iostream> using namespace std; int main(){ int result=0; _asm{ mov eax,3; MUL eax,3; mov result,eax; } cout<<result<<endl; return 0; } shows the following error. 1>c:\users\david\documents\visual studio 2010\projects\assembler_instructions\ass...

How can I debug a local IIS service with Visual Studio running as a non-Administrator user?

I have installed Visual Studio 2008 and am running it as a non-Administrator user. I have a Web Application project I am developing and would like to debug it using Visual Studio. I can compile and also debug with "Visual Studio Development Server" without problems. But, when I select "Use Local IIS Web server" in my project propertie...

How to use < > in Visual Studio comments ?

Hello everybody Below comment is just a piece of xml comment in VS but my problem is characters like < > that break the xml structure. How can I use them in an xml comment? /// <param name="index">square index on board which 1<=index<=64</param> ...

What can I do in VIM that I cant already do in Visual Studio?

I heard it takes 30 days minimum to get comfortable with vi. I'm on day 2 hehe. Right now, I seem to be merely memorizing different shortcuts for things I already did in visual studio. (incremental search, prev/next word, etc) So far the most powerful aspect seems to be the numeric keys combined with commands (5 * next line), and the i...

How to get the binding UI to see my Objects in VS 2010

I have a Silverlight object (call it QuestionAsker.xaml) and another object I use as the data context for that silver light page/object (call it QuestionAskerVM.cs) My QuestionAskerVM instance is called QuestionAskerViewModel and is defined in QuestionAsker.xaml.cs. My QuestionAsker.xaml looks like this: <UserControl x:Class="IsAProgr...

Automatically step by step debugging in Visual Studio?

Hi, I was getting tired of hitting the F10 every step to debug the programs. Are there any program can automate the visual studio to run each debugging step in a consistent frequency? say, 3 seconds for each step? Regards, Sam ...

Is there a vsVim User Guide?

I've just recently downloaded vsVim to use it with Visual Studio 2010 and join the Vi way. But I haven't been able to find information regarding the specific vsVim documentation. I know how to use Vim (basic use, nothing even intermediate) but I would like to know if there is something that is still missing from the vsVim implementati...

outlaw string in c# using intellesence

Hi, I often type string in c# when actually I want to type String. I know that string is an alias of String and I am really just being pedantic but i wish to outlaw string to force me to write String. Can this be done in ether visual studio intellesence or in resharper and how? ...

How can I close all the document windows in Visual Studio from an external script?

Hi, I'm creating the software for a course. What with exercise start points and worked solutions and both C# and VB I have about 100 VS2010 solutions. During development I reopen these as neccessary and they get a lot of tweaking. When I'm done I want to leave the solutions with NO documents open. That way when the student opens the...

Changing default display of DateTime in Visual Studio watch window

Is it possible to change a setting somewhere in Visual Studio (2008 or 2010, in my case) to change the default display of a DateTime to 24 hour in the autos, locals, and watch windows? For example, I have a DateTime corresponding to July 17, 2010 at 1:00 PM. Visual Studio displays this in the watch window as #7/17/2010 1:00:00PM#. I wou...