visual-studio-2008

Can I make WCF applications using Microsoft Visual C# Express 2008?

I'd like to know if the express editions allows you to make WCF applications and what is cut from the Express edition in comparison from the full on Visual Studio. ...

How to check in assemblies in TFS source control

When using custom assemblies in a visual studio project. How does one check in those assemblies in source control with the project so that anyone can download the project and build right away. ...

How to use Transaction in Entity Framework?

How to use transactions in Entity Framework? I read some links on Stackoverflow : http://stackoverflow.com/questions/815586/entity-framework-using-transactions-or-savechangesfalse-and-acceptallchanges BUT; i have 3 table so i have 3 entities: CREATE TABLE Personel (PersonelID integer PRIMARY KEY identity not null, Ad varchar(30), S...

Transaction in Entity Framework refactoring and best performance

I try to use transactions in Entity Framework. I have 3 tables Personel, Prim, Finans. In Prim table you look SatisTutari (int) if i add data in SatisTutari.Text instead of int value adding float value. Transaction must be run! Everything is ok but how can I refactoring or give best performance or best writing Transaction coding! I have...

Can you target Visual Studio's design view with CSS?

My template uses the perfect three column layout found at: http://matthewjamestaylor.com/blog/perfect-3-column.htm It renders fine in all major browsers, however this layout is known not to work in Dreamweaver and Visual Studio design views. The trouble is nothing shows up at all on the page. It's impossible to select elements and use ...

installing visual studio 2005 after 2008 already installed

I have a machine with VS 2008/Sql 2008 already installed. I now need to install an instance of vs 2005/Sql 2005 for two reasons. The main reason is for reporting Services 2005. All of the report servers are sql 2005. Now to create a SSRS compatible with 2005 do I just need to install Sql Server 2005 and work with it in VS 2008 or do...

convert file path to string

I am developing a c# web application with VS 2008 where I am trying to capture the physical path of the selected file. Using IE, I am finally able to retrieve this now in text variable. But I want to capture this information in string. How do I do this? Currently I am using: lb3.Text = Page.Request.PhysicalPath; And it gives me: Tex...

controling dbxml by using dbxml

Dears, any body can help me how can work with dbxml by using visual studio.net (c#) how can I imports the class thanks ...

Replacing delimiter characters in file path

I'm developing a C# web application in VS 2008. I let the user select an input file and then I store the file path in a string variable. However, it stores this path as "C:\\folder\\...". So my question is how do I convert this file path into single "\"? Thank you guys for all your helps! Please forgive me as I am a newbie to ASP....

VS 2008 MFC - Remove MFC handler

Hi, How do you remove a MFC command handler like ON_UPDATE_COMMAND_UI from a C++ file? I can't seem to find a way to do it thru Dev Studio. If you know how, please explain. I am using VS 2008. Thanks, Mike ...

How to compile 64bit asp.net web site with visual studio?

How can I make Visual Studio to use the 64bit compiler (csc.exe/vbc.exe) for an Asp.Net web site? ...

How to add an XML parameter to a stored procedure in C#?

I am developing a C# web application in VS 2008 which interacts with my Adventureworks database in my SQL Server 2008. Now I am trying to add new records to one of the tables which has an XML column in it. How do I do this? This is the error I'm getting: System.Data.SqlClient.SqlException was caught Message="XML Validation: Text nod...

Lambdas in C++/CLI

How to use lamda expressions in C++/CLI? ...

Can Microsoft Visual C++ 2008 Redistributable Package be freely redistributed

I am planning to use py2exe to make an application developped with Python 2.6. It seems that my app need the VC redistribuables : http://www.py2exe.org/index.cgi/Tutorial#Step5 I've read this tutorial and the redistribuables license agreement and I am not sure if I can freely redistribute these files with my program. (I don't have VS20...

Changing the background colour of lines in the stack

I have just changed the colour scheme of my Visual Studio 2008 environment to have a dark backround with light text. This is so much easier on the eyes. The only problem is lines that are on the call stack... Those lines that are referred to in this thread here in visual studio some lines of code have light grey background while debugg...

Visual Studio 2008 debug does not stop on error

I have a simple Windows App written in Visual Studio 2008 (.NET 3.0, C#). Without making any change to the project, solution or Visual Studion (from what I can remember), something weird is happening: when I debug (or run) my application, when it hits an error, Visual Studio does not show me any messagebox with the error, and does not s...

transforming binary data using ssis and sql server 2008

Hello All - I have a task to import/transform and extract zipped binary files that contain both text data as well as embedded binary data. Within the data is data that is relational in nature and needs to be processed into a defined database structure. Currently I have a C# single threaded app that essentially grabs all the files from th...

WCF RIA Services build error

Hi I'm getting a strange error when building my WCF RIA Services Silverlight project in VS2008. In the output I have this message: C:\Program Files\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(261,5): error : Failed to write the generated contents of 'C:\projects\[Path_To_Silverlight_Project]\Generated_Code\Analytics...

Visual Studio 2008, anyway to dynamically throw an error while debugging?

I am debugging some code, and would like to throw an error without actually having the code in place for exception.throw. While I am debugging and the line of code is highlighted in yellow inside a function, is there anyway to dynamically throw a general exception? This would save me heaps of time during debugging sessions. Thanks ...

VS2008 Team Suite working with VS2010 TFS?

Can I use Visual Studio 2008 Team Suite to work with Visual Studio 2010 Team Foundation Server? What are the functions that will not work? ...