visual-studio

Waf generating Visual Studio projects?

Can the Waf build system generate Visual Studio project files for C/C++? ...

can I do a regex search/replace in vs.net?

In vs.net, I want to search for all occurances of [someWord] in my .sql file, and replace it with [SomeWord] Is this possible? (notice the uppercasing of the first character in the result) ...

Team Explorer 2008 Offline-Mode Problem

Hi, I have a big issue with Team Explorer 2008. I am using it with Visual Studio 2008 Standard. Today I opened a Solution and it prompted me that VS will go into offline mode - for no apparent reason, I didn't change anything since I worked on this solution the last time and Sourcecontrol worked just fine. Now, when I try to manually...

Trying to get selenium to start up using MSTest when running tests in Visual Studio

I'm trying to run selenium web tests in Visual Studio using MSTest. I have a selenium process class, a selenium runner class and a web dev test class, as in this article: http://keithbloom.wordpress.com/2009/10/16/running-selenium-tests-in-visual-studio/ I get the command prompt opening and I can see the selenium startup messages when I...

Unit testing: how to access a text file?

I'm using Visual Studio 2008 with Microsoft test tools. I need to access a text file from within the unit test. I've already conf the file to 'build action=content' and 'copy to output directory=copy always' but the file is not being copied to the output dir, which according to System.Environment.CurrentDirectory is '{project_path}\Tes...

Can a certain overloaded constructor, show certain overloaded methods?

Hello, I have a class with both a overloaded constructor and a overloaded method. If I initiate the class with parameters, the idea would be that I then didn't need to fill this information into my method. But as things grow it can get a bit confusing. I wanted to know if there is a way of either telling C# or Visual Studio not to sh...

C++ IDE with good intellisense

So I've been using Visual Studio 2008 for my C++ development for a while now, however the insanely crappy intellisense has been bugging me for ages. I'm looking for an alternative C++ IDE where the intellisense actually is reliable and doesn't vanish between the same variable, in the same scope, just on different lines. Any takers? ...

Visual Studio extension: splash info not showing

I'm building (read: trying to build) a Visual Studio integration package, which contains some custom highlighting and intellisense. The language part is working fine, the package is being loaded in the IDE, installing on non-SDK machines without problems. However, here's one annoying thing I can't get to work. I want to see my package d...

How to make a simple popup box in Visual C#?

When I click a button, I want a box to popup on the screen and display a simple message. Nothing fancy really. How would I do that? ...

How to highlight lines of code in Visual C#

I'm trying to debug a Visual C# program, and it would be helpful if I could highlight lines or do something similar to make them stand out. Is there a way to do that? ...

Global variables in Visual C#

How do I declare global variables in Visual C#? ...

How to change text in a textbox on another form in Visual C#?

In Visual C# when I click a button, I want to load another form. But before that form loads, I want to fill the textboxes with some text. I tried to put some commands to do this before showing the form, but I get an error saying the textbox is inaccessible due to its protection level. How can I set the textbox in a form before I sho...

How to pause a form in Visual C# until another form is closed

In my program I will press a button, and it will load form2. I do not want the program in form1 to continue running until the user closes form2. Then program execution continues in form1 right after the line that loads form2. ...

How to find if a value is in an array in Visual C#

If I have an array of ints, and I want to quickly check if a certain int value is in that array, is there a method to do that? ...

QuickInfo in VS 08 for custom methods

Is it possible (and if yes, how?) to provide custom classes, types, whatsoever with the QuickInfo-Hovers provided by the .NET-Base-classes that explain e.g. a summary or definitions of the parameters and exceptions? (Example for clarification) ...

Visual studio does not recognize aspnet_wp.exe when attaching to process

Hello all, This used to work for me, though I just recently formatted my computer and installed windows 7. Now I when I open the attach dialog I cannot even see the aspnet_wp.exe process. I've configured IIS, and I am accessing it through my global ip address. The website runs fine, but I cannot attach and debug the process. Any ideas...

Any pitfalls to working on a project created in a 'higher' version of Visual Studio?

I'm asking this specifically regarding Visual Studio 2008 and also the upcoming Visual Studio 2010. If we are given a project that has been created in an edition of Visual Studio such as Team Suite or Ultimate, and all we have to work with is Professional, would that interfere with us working with the project? I'm assuming the code woul...

Visual Studio: ctrl+shift+v opens clipboard ring window

Hi, I'm trying to get the clipboard ring working by pressing ctrl+shift+v, but this only opens a window showing what the clipboard contains. I would like the items to cycle through as I press v, not open in a window. ctrl+shift+insert works as expected, and they both seems to be mapped to Edit.CycleClipboardRing, so why don't they beha...

Microsoft Visual C# 2008 Express Edition

My 90 day trial period has ended, I tried repair/reinstalling the program but that didn't work. Is there anyway I can get another trial period? ...

Auto Indentation Off

Hi All, In Visual Studio, when I press Enter, it automatically indents my text, and I don't like that. Is there a way to turn that 'feature' off? Thank you :) Bael. ...