visual-studio-2008-sp1

Copy task in Visual Studio 2008

This is a question related to a previous question I posted (see here). I need to configure a .csproj file to copy some files from a directory to another one (let me call them SOURCE and DESTINATION). I also need to change the SOURCE path depending from the configuration I'm using. For example, if I compile my project in Debug mode, the S...

Visual Studio 2008 and Intel Fortran 11 - Stop Debugging do not closes program command-line window?

Hi, I'm using VS2008 with Intel Fortran 11. After doing the install of the SP1 for VS2008, I started to have problems when debugging a fortran app. What happens is that if I stop the execution of the program during debug, The command-line window where the program shows their status do not close. After this, nor the windows can close...

Malfunctioning of Tab and Space Key in visual studio 2008

hi When I write a code vs2008 editor , and give space it typed "....." and when I give tab it shows arrow symbol. How to resolve this to make it function as it does have. waiting for your prompt and positive response Thanking you ...

Very slow performance deserializing using datacontractserializer in a Silverlight Application.

Here is the situation: Silverlight 3 Application hits an asp.net hosted WCF service to get a list of items to display in a grid. Once the list is brought down to the client it is cached in IsolatedStorage. This is done by using the DataContractSerializer to serialize all of these objects to a stream which is then zipped and then encry...

Developing Silverlight 1.0 Applications on VS2008 SP1

Hi, Can anyone point me to any guides, howto's or general documentation on how to develop Silverlight 1.0 (it has to be 1.0) on VS2008 SP1. I have searched high and low for information, and it all seems to be out of date (referencing Silverlight 1.0 Tools for Visual Studio 2008 beta, release candidate and alpha packages) or just plain ...

Embed resource in a .NET assembly without an assembly prefix?

When you embed a resource into a .NET assembly using Visual Studio, it is prefixed with the assembly name. However, assemblies can have embedded resources that are not assembly-name-prefixed. The only way I can see to do this is to disassemble the assembly using ILDASM, then re-assemble it, adding the new resource -- which works, but... ...

My Windows Service crashes with "the key does not exist in the appSettings configuration section"

There is the same question listed under http://stackoverflow.com/questions/427007/the-key-userid-does-not-exist-in-the-appsettings-configuration-section, but unfortunately none of the answers worked in my case. All was working fine, I checked everything in and when I opened the solution again, it started crashing on the above. I cannot...

Error C2451: Illegal conditional expression of type 'UnaryOp<E1, Op>' in ostream - visual studio 9

I am getting a repeated error with VS 9. The code compiles under GNU C++, but I want debug with the VS IDE. Any idea what could be causing this error. Error 13 error C2451: conditional expression of type 'UnaryOp' is illegal \Microsoft Visual Studio 9.0\VC\include\ostream 512 //unary constraint template class UnaryOp : public Const...

Internet zone is opened when broswer is opened from installer created by .Net 3.5sp1

Hi All, I have project created in VS2005 and .Net 2.0. The installation is a web-based installation. After installing the proe-requisites the installer opens up the browser to continue with web-based install. On this, it opens up in intranet zone and works perfectly. I recently migrated the project to VS2008 Sp1 and .Net 3.5sp1. No cha...

I can not use Session In Page_Load and I got error bellow

hi my dear friends .... why i got this error : Object reference not set to an instance of an object. when i put this code in my page_load.: protected void Page_Load(object sender, EventArgs e) { BackEndUtils.OverallLoader(); string Teststr = Session["Co_ID"].ToString(); } ===========================================...

How to deploy a visual studio custom tool?

Hello. I have a my own custom tool for Visual Studio 2008 SP1. It consists of 5 assemblies: 3 assemblies with code that used heavily in my other projects, 1 assembly-wrapper above VS2008 SDK and assembly with the tool. If I'd debug my tool from visual studio, using "Run external program" option with command line "C:\Program Files (x86)...

Any way to install Visual Studio 2008 hotfixes automatically?

There are several hot fixes for VS 2008 sp1, but it's a mess to install them all manually one by one. Is there some kind of Visual Studio Updater, which installs all the necessary hot fixes automatically? ...

How to return the full file path in a C# / ASP.NET web application?

This should be really simple, but I have tried many solutions posted on the internet so I thought I'd give this a try here. I have a VS 2008 web application that I need to capture the full file path (directories and file name) from the selected file. So user selects a file and then clicks on one of the buttons which transfers control t...

VS2008: Is there a way to enable bracket matching for javascript?

The bracket matching in VS2008 is a handy feature, but doesn't seem to work for javascript code. Is there a way to enable it? ...

Make process crash on large memory allocation

I'm trying to find a significant memory leak (15MB at a time, but doing allocations like this on multiple places). I checked the most obvious places, and then used AQTime, but I still can't pinpoint it. Now I see 2 options left: 1) Use SetProcessWorkingSetSize: I've tried this but my process happily keeps on running when using up more t...

How to allow the user to select an input file for my SQL AdventureWorks web application?

I have a SQL and VS 2008 web application that I need to capture the full file path (directories and file name) from the selected file on the client computer. And I want the user to be able to run this application from a Mozilla Firefox browser. This is the trick cause IE supports file path but apparently not Firefox. So user selects a ...

Theoretically basic RDLC question

I'm trying to do something that I thought ought to be reasonably simple but I keep failing... Maybe I just need more coffee, but I thoguht i see if anyone else has solved the problem already. I've got a report, it contains a pile off rows. I want the row to show up grouped by one column called office. I want the groups of offices sort...

How can i determine the version of the Windows SDK installed on my computer?

Hello everyone :) I've very recently decided to teach myself c++ and win32 programming after learning vb.net, and i've got a very simple question: How can I determine what version of the Windows SDK is installed on my computer? I'm asking so I can install the latest version if it isn't installed allready, before i start playing around w...

ClickOnce Application Files dialog filename problem

In the ClickOnce "Application Files" files dialog, most of the entries for files are listed with the name "C". I have seen this on a colleague's machine for a different project as well. Has anyone else seen this and is there a way to get the correct filename inserted? We are both using VS 2008. ...

How to open .hxs Help files with DExplore.exe ?

Hi all, I tried to open .hxs file with (with "hxs "extension with right click) with "dexplore.exe" from: C:\Programme\Gemeinsame Dateien\Microsoft Shared\Help 9 but noting happens, I have Visual Studio 2008 SDK Version 1.0, and VS2008 installed on my system. Any idea what to do in order to see .hxs Help files ? Br, Milan ...