visual-studio

Console Slow to Appear While Debugging

I have a small Win32 console application and when executing from the debugger the console takes about five seconds to appear. If I place a breakpoint on the last line of main, the break point is hit immediately, so the application is already finished but the console does not appear for about five seconds. I have removed all my breakpoint...

Best route for an independent developer to get modern Microsoft source control?

Given I'm: a solo developer using VS2008 Professional looking for Microsoft-produced source control (I'm aware there are alternatives) looking to get away from Visual SourceSafe 2005 Is it correct that my only option is to drop ~$8k on Visual Studio Team System 2008 Development Edition ($5,469) + Team Foundation Server ($2,799) - in ...

Prevent Visual Studio's "Home" page when Pressing the Web Home key

I search the web a lot when writing code. When working in Visual Studio 2008, every time I hit the keyboard's "Web Home" key (you know the one on every multi media keyboard with the house on it) it opens a browser in VisualStudio - usually to something on MSDN. Not that I don't like MSDN, but I'd like to open a real browser on my second...

Programming Visio ActiveX control

My task is to use Microsofts Visio ActiveX control (Visio Viewer) to visualise a Visio document in a web page and to catch the events generated by user clicks. My immediate problem is to generate the AxVisOcx assembly. Explained below: ActiveX control wrapper assembly that allows the control to be embedded within a Windows Form ...

Does anyone know of a free tool to integrate Reflector with Visual Studio, besides TestDriven.NET?

Dear ladies and sirs. I love the Go to Reflector menu option installed by TD.NET. However, TD.NET is not free for commercial use and so I do not have it at work. I am wondering if there is another tool out there that does just that - allows to jump to Reflector from the source code in VS and which is totally free. I know it is possibl...

TFS2008 & VS2008 : File deleted from Solution Explorer still appears in Source Control Explorer

I'm seeing some weird behavior from VS2008 integrate with TFS 2008. When I delete a file from a solution from within the Solution Explorer and check it in, the file still appears in the Source Control Explorer. In the Source Control Explorer the file appears having the value 'delete' under the Pending Change column. It also appears in t...

VS2010 Beta1 Performance Sessions

Just a quick question, does anyone know if there are restrictions on creating Performance Sessions in VS2010 that weren't there in 2008? I've got an existing Solution I've upgraded and the 'Create Performance Session' option is disabled on right clicking of my unit tests... ...

Where does Visual Studio save SCM-related info?

I'm using a Visual Studio (2005) + Perforce combination for a particular solution, and I'd like to manually modify a Perforce parameter (the client name). From VS's "Change Source Control" dialog it seems that SCM info is saved per-project; however, the .csproj.vspscc files don't seem to hold any Perforce-related information, and neit...

Print n levels of callstack?

Using C++ with Visual Studio, I was wondering if there's an API that will print the callstack for me. Preferably, I'd like to print a callstack 5 levels deep. Does windows provide a simple API to allow me to do this? ...

Visual Studio/Sourcesafe checkout problem

Hi, After a branch was created of a project I was working on, I don't seem to be able to checkout resource files anymore. I checked the sourcesafe with the administration tool, and I have sufficient rights on the project. I can checkout the files straight from sourcesafe, but I can't checkout the files from visual studio. anyone know...

Object Test Bench flashes quickly whenever I run (F5) in VS2008

Maybe a silly question but one day I did something accidentally in VS2008 and ever since then, whenever I hit F5, just before my app appears, I see a quick flash of a small window labeled "Object Test Bench". ie, it appears and very quickly disappears. I've read about Object Test Bench and (since this happened) had a quick play with it ...

[Visual Studio] How to rebuild ALL?

In Visual Studio, how do I rebuild a complete solution, including all configurations? If I choose "Rebuild solution", it always rebuilds ONLY Debug or ONLY Release, but never both. ...

Can you really use the Visual Studio 2008 IDE to code in Python?

I have a friend who I am trying to teach how to program. He comes from a very basic PHP background, and for some reason is ANTI C#, I guess because some of his PHP circles condemn anything that comes from Microsoft. Anyways - I've told him its possible to use either Ruby or Python with the VS2008 IDE, because I've read somewhere that th...

Licensing constraints to Business Intelligence projects for Visual Studio

Since the business intelligence development studio only seems to come with SQL server discs and you have to install from those discs in order to see the projects inside Visual Studio, are there licensing constraints that I should be aware of? Like only one installation of the business intelligence studio per server? ...

Detecting if a program was run by Visual Studio, as opposed to run from Windows Explorer

Is there a way to detect if your program was loaded through Visual Studio vs. whether it was started as a standalone executable? Our software has a bug reporting feature to handle unhandled exceptions -- we need to be able to distribute debug builds to our beta testers, but we don't want the bug report to go off when we are in the middl...

Visual Studio plugin that shows who checked in code

I have vague memory of a screenshot of a VS plugin that colors different code sections, based on who gave them the last modification. Anyone knows what I'm talking about? (I'm doing native c++ / MS Team source control. I can only hope this tool, if at all exists, supports this configuration) ...

size checkboxes

Is it possible to make a checkbox large? So far, the sources i've read said that it's nearly impossible. I've tried Cssclasses and it didn't work either. I don't want to cheat and use a TextBox. How can I make the checkboxes larger? ...

Visual Studio Project Template and Private Assembly Referencing

Hello, I noticed someone else asked a similar, if not exactly the same, question before, but the answer to it didn't help (me, anyway). I have a project that I'm building a template from. When I go to reference an assembly in the Program Files, the template project itself will build fine, but any projects built off of it cannot find th...

Generating Comment Header in Visual Studio

Is there a snippet or add-on to generate the comment header for methods and classes in Visual Studio 2008. Currently i just type /// to generate the header. Is there an add-on to run a code through and add the comment header for methods, members and classes that doesn't have one? ...

Visual C++ - Why bother with Debug Mode?

So I have just followed the advice in enabling debug symbols for Release mode and after enabling debug symbols, disabling optimization and finding that break-points do work if symbols are complied with a release mode, I find myself wondering... Isn't the purpose of Debug mode to help you to find bugs? Why bother with Debug mode if it l...