visual-studio

Any way to collapse value/function definitions (F#) in Visual Studio 2008?

Is there a way to "collapse" functions and values in VS2008, like one would do for objects in languages like C#? It's incredibly time-consuming and frustrating to wade through hundreds of lines of nested function definitions. ...

Set (temporary) fixed zoom factor in Visual Studio 2010 code editor

Is there a way to configure Visual Studio 2010 (or ReSharper, btw.) to zoom in newly opened files to a specific percentage? (Background: In some cases (working late, different screen) I'd like to zoom in a little to make it easier on the eyes) ...

VS2010 Last Session Debugging Value

This is nice feature for debugging. However, in normal edit mode, I need to keep my mouse cursor on the pin icon to display the info. Is there any way to keep the info display while mouse cursor move away? Thanks. ...

Hot key to pop open rename options?

When Visual Studio, when you rename a variable or type the name of a class that hasn't been included, a little box appears under the text. If you hover your mouse over it, it pops open and gives you options to either rename all the variables, or include the missing reference. I'm sure there's a hotkey to pop this open so I don't have t...

Visual Studio keyboard shortcut to display intellisense

What's the keyboard shortcut for VS2005/2008 to display intellisense box if accidentally hit ESC and want the box come back again? Thanks. ...

Is there a free/opensource C# IDE in Windows?

Hi, I would like to study C# but I'm intimidated by Visual Studio's price tag. Any free/opensource alternatives? Thanks. ...

Genrating the designer file for an asp.net application

Hello Guy's, Here i want to generate the designer file like default.aspx.designer.cs file for the page default.aspx. i had been seen it in may application but i don't know how it be happened so please tell me some solution . ...

where can i find toolbox icon for visual studio?

i need icon(image) of all controls in toolbox in visual studio.is there any link that i can use ? ...

Redirect the output (stdout, stderr) of a child process to the Output window in Visual Studio

At the moment I am starting a batch file from my C# program with: System.Diagnostics.Process.Start(@"DoSomeStuff.bat"); What I would like to be able to do is redirect the output (stdout and stderr) of that child process to the Output window in Visual Studio (specifically Visual C# Express 2008). Is there a way to do that? (Additiona...

How can I view all the properties of a given JS object?

I have a 3rd party server side control that generates JavaScript and I'd like to see what methods and properties it exposes. Currently I just type in an invalid function like asdf123() so VS will break and I can add a watch to the variable, but there are a ton of methods and I don't know what I'm looking for (I'm trying to make the cont...

Visual Studio stops at none breakpoints for no reasons.

There is an annoying bug in VS 2008 that it will stop at some portion of the code that does not have a breakpoints. Even if I remove all the breakpoints. It will still stop at those points for unknown reasons (No exception or any problems like that). The only way for it not to stop is disabling the breakpoints. It is time consuming for m...

Why this c++ template code can't be compiled?

This is a code sample copied from chapter 17 as bellow. When I compile it with Visual Studio 2008, it keeps this error: warning C4346: 'HashMap::mapped_type' : dependent name is not a type 1> prefix with 'typename' to indicate a type Does anyone has any idea about this? Thanks in advance! #include <vector> #include <map> using...

Installing XNA Game Studio in Visual Studio 2010

So I'd like to try out XNA Game Studio, but although the last stable version seems to be 3.1 (I am not sure about this), it's asking me for Visual Studio Express 2008 (I'm using a full Visual Studio 2010). How to solve this issue? Must I install the XNA's 4.0 beta? I can't find a place to download it. Thanks ...

Expression Blend 4.0 - Automatically reload edited files?

I do a lot of editing between Blend and VS. VS has a great option to "automatically reload changed files" so that I don't get prompted when I do some work in Blend and switch tools. Going the other direction though I don't see an option for Blend to automatically load files when changed. Is there a way to get rid of that dialog and al...

Cmake: how to force including more than one header

Hi, I try to force including header with CMake(2.8.2) and this first solution: SET_TARGET_PROPERTIES(${MyTarget} PROPERTIES COMPILE_FLAGS "/FI\"${ForcedHeader_A}\"/FI\"${ForcedHeader_B}\"") Somehow CMake ignores (or overwrites) the first compiler flag. This happens only if the two compiler flags are the same as in this case . I ...

How to update many-to-many related objects with Entity framework 1 & MySQL?

Hello, I have such a problem. I'm using EF1 with VS2008 SP1 & MySQL with MySQL Connector/Net 6.3.4 My database schema looks like this: CREATE TABLE IF NOT EXISTS `credential` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; CREATE T...

How to check correct Application Prerequisites?

In Visual Studio 2010 prerequisites window these are checked -Microsoft .net framework 4 (x86 and x64) -Microsoft .net framework 4 client profile (x86 and x64) -SQL server 2008 express -SQL server compact 3.5 sp2 -Windows Installer 3.1 -Windows installer 4.5 They seem repetitive (installer 3.1, compact server, client profile). How do i ...

Cross Compiling ARM7 code from visual studio

Hi, Is it possible to compile for ARM7 from visual studio (2008/2010) express or professional? If so, can I be directed as to how to do so? I've read from other posts about the Yagarto toolchain. How does it all fit into the picture? I'm very green in this field (c# programmer) so any guidance will be very much appreciated. The last ID...

Problem with FlowLayOutPanel

I am using C#, Visual Studio 2005, and SQL Server 2000. My problem is as below. Here is my code: private void textBox2_KeyPress(object sender, KeyPressEventArgs e) { if ((Keys)e.KeyChar == Keys.Enter) { foreach (Control abcl in this.flowLayoutPanel1.Controls) { if (abcl.Name.Contains("bb") && abcl ...

Difference in behaviours of the Dispose method between Windows Forms' Form and textboxes

Whenever I call the Dispose method on a Windows Forms form (derived from System.Windows.Forms.Form) to close it, the Dispose method finalizes by releasing resources and disposing the form. I have runtime objects like textboxes as below: Textbox Tb = new Textbox(); The user can create new textboxes dynamically. I want it so those text...