visual-studio-2008

HELP VS8 Command line to IDE?

PROBLEM: C:\>**cl /LD hellomodule.c /Ic:\Python24\include c:\Python24\libs\python24.lib /link/out:hello.dll** 'cl' is not recognized as an internal or external command, operable program or batch file. I am using Visual Studio Prof Edi 2008. What PATH should I set for this command to work? How to execute above command us...

Close all files in visual studio on exit

Is there any way to close all files in Visual Studio on exit? Alternatively if that isn't possible is it possible to delete the user project file visual studio creates on exit? ...

How can i disable Cider (WPF Gui Editor) within VS2008 ?

hi there, when developing wpf applications i never use the graphical editor ( aka cider). only the xaml editor. as "cider" needs quite some resources when loaded i wonder if there is a way to completely disable it. This may speed up loading xaml files. i heard that this is possible, but as google does not return what i`m looking for, i...

Windows Forms, tutorial?

Question: Looking for a simple, Windows Forms tutorial: Get some user input from a text box into a variable ...

Broken: Find box in VS is in left to right

I hit the wrong keyboard shortcut this morning in Visual Studio and managed to flip text direction for the the find box from right to left to left to right. Of course I have no idea how to flip it back. Any one know the key combination? Thanks, Keith. ...

Visual studio 2010 color scheme for vs 2008?

Does anyone know if there exists a color scheme for Visual Studio 2008 so it would look more like the new Visual Studio 2010? If not the whole IDE then at least the "Fonts-Colors" part. ...

Where are project level imports stored in Visual Studio 2008?

I have a Web Service Application Project in Visual Studio 2008. This is supposed to be an ASP.Net 2.0 project and at some point this has been rebuilt using 3.5. VS has kindly added in project level imports to System.Linq and System.Xml.Linq, but when I have re-targeted the project at 2.0 these project level imports have remained. Beca...

Question regarding images and winforms

I am creating a Kiosk application. I have it full screen and I am drawing directly on the form: Private Function CreateHeader(ByVal headerText As String) As Boolean Try Dim oGFX As Graphics = Graphics.FromHwnd(hwnd:=_oP.Handle) Dim oRect As Rectangle = New Rectangle(x:=0, y:=0, Width:=_screenSize.X, Height:=150) ...

How to make document tabs in Visual Studio 2008 appear in left-to-right order, just as it was in earlier VS?

In earlier versions of VS (2003 for sure, maybe 2005) when you open a project file, the tab opens to the right. In current VS 2008 it always opens to the left, so I have to rearrange them manually. It's time consuming and stupid, since I feel I'm forced to write in the right-to-the-left order. I looked for appropriate settings, but haven...

Anyone using "database projects" in Visual Studio?

I've recently given it a try (SQL 2008 version) and I find them quite okay. Well, the only problem is that the wizard is not intelligent enough to update database structure without first erasing all data. Is this why these projects are not used in practice? Actually never seen anyone using them or ever mentioning them at all. Also nothi...

VS2008 Unit tests failed when you select Test- Debug- All Tests in Solution

in Debug mode the tests which throw a custom exception give an error message like Exception of type 'CustomProductException' was thrown instead of 'CustomProductException' Fail.But when I choose Test - Run - All Tests in Solution rather than Debug, all Tests pass.Why is this happening? Any pointers... ...

Why .net client profile does not appear in Visual Studio 2008

I have Visual Studio 2008 but I don't see in Application tab, Target Profile Client. Any idea why? ...

Partial Class - Visual Studio 2008

Is there a possibility to create partial classes that are grouped in the Solution Explorer like VS does it with code behind classes (eg. Default.aspx and Default.aspx.cs). I would like to create MyClass.cs and MyClass.partial.cs and they should not be shown as 2 seperate files in the Solution explorer. ...

Debug .NET Compact Framework app locally (without emulator or device)

I am currently in the preparation phase for a new project that will be developed with .NET Compact Framework (2.0 or 3.5, we'll see) and will run on a custom Windows CE 6 hardware. There is, however, one thing I can't get to work: Debugging seems to be possible only with a physical device or with the emulator. But when I just start the ...

VS2008 TFS: Is it possible to change the default Check-in Action for work items?

When I check in code to our Team Foundation Server, I some times (probably more often than I actually do...) should associate my check-in with a task or a bug I am working towards. When I mark a task or a check in, it sets the Check-in Action to Resolve. But almost always, I just want to have it as just Associate. The result is that I of...

Implementing Gridview paging in asp.net 2008

i am using asp.net 2008 and i have implemented the in-build Gridview Paging.But it didn't work.then how can i implement Gridview Paging?i am using sql server 2005. ...

Visual Studio design time and fixed-layout tables - your opinions

Hi guys, I'm about to submit a bug to Microsoft. The following html is displayed fine in a browser, but in VS designer it makes the entire page scrollable - as the table isn't clipped by the div: <div style="width: 800px; height: 100px; overflow: scroll;"> <table style="table-layout:fixed"> <tr> <td style="widt...

Is there a Breakpoint Plugin for Visual Studio?

Background In some sufficiently large applications, you can spend more time figuring out how to drill down to the various layers than you do actually debugging: That's the case with a piece of software I work on now. Layout/separation of concerns issues aside, it'd be nice to have a breakpoint plug-in that would allow you to load break...

How to reduce memory consumption by an application in Task manager

Hi I have developed a winforms application using C# in VS2008. When I run this application I observed in task manager that it shows 80 MB of memory is consumed. How can I reduce this? Even very small applications also take 8 MB of memory... What can I do to reduce the memory footprint? Thank you very much in advance. ...

How do you use selected vertical blocks in Visual Studio 2008 and 2010?

I get that you can select a vertical block in Visual Studio 2008 (alt-drag), but I don't understand how you use it once it's selected. How do you: Move the selection point inside the block and have the text you're typing get inserted on every line simultaneously? Move the block one space to the right/left Or can you just copy/delete...