visual-studio

VB.NET - RichTextBox - Apply formatting to selected text.

Hello, this may be n00by, but, I have this simple question: I have a RichTextBox control on my form. I also have this button, labeled Bold, that I want, if someone selects text in the RichTextBox, then presses the button, the selected text turns bold. Any way to do that? Simple, everyday task for end users. Thanks. ...

VisualStudio using BootCamp/VMWare on OS X

Just bought a 2.4GHz Intel Core 2 Duo iMac with 2GB of memory and a 320GB hard drive. I plan on doing some .net development on it using a BootCamp/VMWare combo since VMWare grants access to the bootcamp partition. What is a recommended size for a BootCamp partition and how much memory should I give VMWare? Any pitfalls to watch out for?...

How to add WCF templates to Visual Studio Express?

I am working through the book Learning WCF by Michele Bustamante, and trying to do it using Visual Studio C# Express 2008. The instructions say to use WCF project and item templates, which are not included with VS C# Express. There are templates for these types included with Visual Studio Web Developer Express, and I've tried to copy t...

Anyone know of any (free / open source) VI integration for Visual Studio?

vi is for cool kids. ...

How to get a full call stack in Visual Studio 2005?

How can I get a full call stack for a c++ application developed with Visual Studio 2005? I would like to have a full call stack including the code in the system libraries. Do I have to change some settings in Visual Studio, or do I have to install additional software? ...

How do you integrate a TDD approach with VisualStudio?

I am interested in hearing about experiences using TDD and unit testing for C++ in general with Visual Studio 2005 (Professional) First some background. We have a fairly large project and much of it has been developed on Linux using CppUnit for the unit tests. The project is divided into several libraries, each with their own set of tes...

Where can I find an .xsd file to provide intellisense for Castle Windsor?

I'm looking for an .xsd schema file to drop into my Visual Studio directory to provide intellisense for the xml configuration file for the Castle Windsor IoC container. I've looked in the downloaded code for Windsor, as well as googled several different ways. I see many people asking the same question, but no answers. Anyone know if ther...

"Information Not Found" page in Visual Studio 2008, VB.NET Express Edition

I'm experimenting with VS 2008 Express edition and when I hit f1 on a keyword or class name I seem to get the Information Not Found page more than 90% of the time. Is this a configuration problem? Is it because this is the "free-as-in-beer" Express edition? Did Microsoft move their online documentation since the version I downloaded? ...

Visual Studio Solutions / Multiple project : How to effectively propagate project properties amongst several projects

I am working with a Visual Studio 2005 C++ solution that includes multiple projects (about 30). Based upon my experience, it often becomes annoying to maintain all the properties of the projects (i.e include path, lib path, linked libs, code generation options, ...), as you often have to click each and every project in order to modify ...

Click through transparency for Visual C# Window Forms?

I made a panel and set it to fill the screen, now I can see the windows under it but I want it to be click through, meaning they could click a file or see a tool tip of another object through the transparency. RE: This may be too obvious, but have you tried sending the panel to the back by right clicking and choosing "Send to Ba...

Using Visual Studio 2008 to Assemble, Link, Debug, and Execute MASM 6.11 Assembly Code

I would like to use Visual Studio 2008 to the greatest extent possible while effectively compiling/linking/building/etc code as if all these build processes were being done by the tools provided with MASM 6.11. The exact version of MASM does not matter, so long as it's within the 6.x range, as that is what my college is using to teach 16...

How can you change the Visual Studio IDE profile?

Can the Visual Studio IDE profile be changed without clearing all VS settings? ...

Create program installer in Visual Studio 2005?

I'm a web-guy stuck in "application world" in VS 2005. I created my windows forms program and want to give my end users the ability to install it (and some of it's resources) into a standard Program Files/App Directory location along with a start menu/desktop launcher. The help files don't give any instructions (that I can find). Th...

How can I test for an expected exception with a specific exception message from a resource file in Visual Studio Test?

Visual Studio Test can check for expected exceptions using the ExpectedException attribute. You can pass in an exception like this: [TestMethod] [ExpectedException(typeof(CriticalException))] public void GetOrganisation_MultipleOrganisations_ThrowsException() You can also check for the message contained within the ExpectedException li...

What does "Optimize Code" option really do in Visual Studio?

Name of the option tells something but what Visual Studio/compiler really do and what are the real consequences? Edit: If you search google you can find this address, but that is not really I am looking for. I wonder the real things happening. For example why do the loops get less time, etc. ...

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

Hi All, I've had a serious issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008 (team system version). If I can't resolve this issue I have no choice but to compl...

Use VBA in Office 2007 Applications?

Is VBA going to go away any time soon, like VB6 has? Should I not develop new Office applications with VBA? Or should I be developing all new Office Apps with VSTO? Update: Recently read this article. ...

How to disable a programmatical breakpoint / assert?

I am using Visual Studio, developing a native application, I have a programmatical breakpoint (assert) in my code placed using __asm int 3 or __debugbreak. Sometimes when I hit it, I would like to disable it so that successive hits in the same debugging session no longer break into the debugger. How can I do this? ...

How can I customize the syntax highlighting in Visual Studio 2005?

Is it possible to customize the syntax highlighting in Visual Studio 2005? Up to now, I found no way to do this. In eclipse for example, it's possible to setup custom highlighting. ...

"No symbols loaded for the current document" Visual Studio 2008 Javascript Debugging

I'm working on a .net 3.5 website, with 3 projects under one solution. I'm using jquery in this project. I'd like to use the visual studio javascript debugger to step through my Javascript. If I set a breakpoint in any of the .js files I get a warning that says "The breakpoint will not currently be hit. No symbols have been loaded for th...