visual-studio-2008

VS2008 Keyboard shortcut open Code in front

This is probably a total newb question but does anyone know how to make the 'F7' keyboard shortcut in VS2008 open the code-in-front page in source view rather than design view? Thanks. ...

Debugging a specific executable on Visual C++ 2008 Express

Visual C++ 2008 has a great tool called "Attach to Process", which start watching a specific process for debugging symbols and handles correctly your breakpoints. This is fantastic, but I would like some more. I would like to attach my debugging session to a executable file, such that when it is executed, debugger takes command. So I wo...

Masked Text Box removes preceeding zeros in date

I have a process which grabs the birthdate and from a data table and display them in a masked text box for viewing and editing However when pushing the data into the textbox any preceding zeros get removed For example 05/05/2005 would display as 55/20/05__ The masked Text box is set up as 00/00/0000 The line which assigns the code is...

Insufferable word wrap in Visual Studio XAML editor - is there any relief for 2010?

Just curious if the XAML editor is any better at auto-formatting and wrapping attributes in Visual Studio 2010. Here's how the editor auto wraps attributes in VS 2008: <StackPanel Grid.Row="0" Grid.ColumnSpan="3"> <StackPanel Orientation="Horizontal"> <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="Current Use...

LIKE Statement trouble

I am having some issues while using the TableAdapter and the LIKE Statement in VB 2008. I am wanting to search name using partial spellings. When I run the application nothing is returned. Here is my SQL: SELECT MEMBERS.RolodexID, MEMBERS.FirstName, MEMBERS.LastName, MEMBERS.address, MEMBERS.Address2, MEMBERS.City, MEMBERS....

Report viewer from SQL reporting services in VS 2008 report control

Report viewer from SQL reporting services in VS 2008 report control If I create a new report in VS 2008 they have a .rdlc extension and work correctly. I have some reports that I was using in SQL reporting services. Extensions are .rdl and want to get them to work with VS 2008. I copied the rdl files and the .rdl.data files over to VS ...

WPF Converter casting causes Visual Studio designer exception

A converter such as what follows will cause the 2008 visual studio designer to not display the xaml, and error out with a "Specified cast is not valid." exception. public class ItemsVisibilityToGridColumnWidthConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo cult...

Row/Column coloring for TableLayoutPanel (vs2008, winform)

Hello Experts, Can i add particular color for entire Row or Column in TableLayoutPanel ? How ? please provide sample code if any .. Thanks in adv. ...

how c# compiler works?

how c# compiler works?? how it parses our whole solutions and .cs files... i want to know where it start and how everything works... i want to know from the asp.net perspective... thx ...

How to truncate the table value parameters (TVP) in TSQL?

I want to truncate the TVP instead of DROPPING. When I am writing TRUNCATE TYPE it is giving error. DROP TYPE is working but iI want TRUNCATE Can any one help me with the syntax? thank you ...

Code Metrics Calculation in Visual Studio

What is the prefered score range for the code metrics calculation for the following Maintainability Index Cyclomatic Complexity Depth of Inheritance class Coupling ...

.NET Framework 3.5 SP1 download link?

I want to download .net framework 3.5 sp1 to install on client computer (just ramework not full VS package), as because its needed to run .net 3.5 applications. I got this link from google: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;displaylang=en I am not loading "Full Package" gi...

In Visual Studio how can I load a .png image from the project Resources folder?

Hey Guys, Thanks for reading! I am trying to develop an application for a windows mobile pda but am having a problem with getting .png images from a resource folder. I have a number of images in the project Resources folder, and all I want to do draw an image box programmatically (i.e just using code) with a background image from the pr...

Target "build" does not exist in the project for Visual Studio

I'm checking out code for a project where contributors use different dev tools for coding in c sharp (C#). My .csproj file was manipulated by someone using Sharp develop and now I get 'The target "build" does not exist in the project'. How can I correct this? I am using Visual Studio 2008 SP 1. ...

Unable to Copy File "*\bin\debug\*.dll" to "bin\*.dll" in VS 2008

I encountered this problem Unable to Copy File "*\bin\debug\*.dll" to "bin\*.dll" And when this happens, the compilation will fail because of the above error. Edit: I know that the file is locked by the devenv.exe process that results in the above error because if I restart the VS, then the problem would go away, but is there a...

Site maps in Visual Web developer.

How does a sitemap help in building a website in visual web developer... and what does url.. title and description mean ?? ...

Passing image into an SQL 2008 Server

I have deploy my code in visual studio .NET 2010 in order to select images and save them into a SQL server (remote) 2008 express When i deploy my tables as: [dbo].[tablename] then at the last command of my code which is: sqlFile = New SqlFileStream(filePathName, fileToken, FileAccess.Write) I receive the error of 'Access denied' When...

deleting a project in vs2008

How can I delete a project in VS 2008? I am new to the C# / MS.Net development arena. Thanks ...

How do you split a Visual Studio Solution?

I have a Visual Studio 2008 solution with >40 C# and C++/CLI projects that depend on each other. Working with that solution is quite slow, and usually I only need a few projects at a time. So I decided to split the solution into multiple solutions that contain 3-5 projects. I would also like to keep the "full" solution with all projects ...

Tools for Silverlight and .NET parallel programming?

An upcoming project at work looks like it might involve Silverlight. We're a .NET shop without all that much Silverlight-experience, but it looks like we need to ramp up our knowledge for this. So I'm wondering, what tools should we get? We are using Visual studio 2008, and will most likely not be able to jump to .NET 4.0, although we ...