visual-studio-2008

Visual Studio 2008 Express and jQuery

A very basic question. I have just installed Visual Studio 2008 Express Edition and was was going to make some use of jQuery. I heard that jQuery is now supported by Visual Studio, but my question is. What do I need to do to use it? Is is already included in the VS installation or do I need to download it separately and reference the...

How to define preprocessor directives in VC++ 2008?

I'm using Visual C++ 2008 Express Edition. The WIN32 preprocessor directive doesn't appear to be defined by default, so when I surround includes with #ifndef WIN32, it still includes them. I found someone with the exact same problem below, but it was so long ago that the location of this setting has changed: http://www.gamedev.net/comm...

unable to connect to ASP.Net development server issue

Hello everyone, I am debugging codeplex simple project => http://www.codeplex.com/sl2videoplayer. I am using VSTS 2008 + C# + Windows Vista x86 Enterprise. I have not modified any code of this codeplex project, and just press F5 to run VideoPlayerWeb project. The current issue I met with is error message -- "Unable to connect to ASP.Ne...

Controlling VS auto-Code formatting

I like single line styles in my content pages...like this .lblLogin {left:14px;top:95px;position:absolute} .lblPassword {left:14px;top:128px;position:absolute} When I drop a new control on a page VS creates generic style classes .Style1, .Style2, etc., after renaming them and making them single line, if I move a control on th...

What is the VS 2008 IDE Written in?

I tried to search but if this is a duplicate it is hidden by some noise. Alternate title to the question: What skills to look for when needing integration with the Visual Studio IDE? ...

A source compiled with vs2008 produce a binary that is different from the same source compiled directly by csc at command line

Hi all, I can't understand why If I compile the same source with Visual Studio 2008 (MSBuild) and then with csc (or NANT) at command line I can't obtain exacly the same binary file (the same assembly). The command line is the same that is invoked by visual studio because I copy the command from the output window and then paste the comm...

ASP.NET 4.0 and VS2008?

Will VS2008 be able to develop ASP.NET 4.0 applications when it is released? I would hate to have to go buy VS2010 just for a couple of features I'm looking forward two like Dynamic Data and session profiles. ...

How do I turn off snaplines in Visual Studio 2008?

How do you turn off those blue guide lines when working on an ASP.NET form in VS 2008?. You used to be able to just drag absolute controls around. Now, I'm fighting with the designer which won't let me put things where I want to put them! Cheers, Rob. ...

Passing data from WPF tabs to a function

I have a WPF app with a single form containing some WPF tabs. Three of the tabs are used to collect data from the user. The last tab has an OK button and when clicked performs some calculations. How to I pass data from the text boxes on the various tabs to the function located in the buttonclick event? I have the function created. I jus...

Visual Studio Unit Tests Missing During "Run Tests in Current Context"

...except it isn't missing. I just wrote it, decorated it with [TestMethod] and can see it right in front of me and it compiles. It just doesn't show up in the test results window when running all the TestMethods in the containing TestClass. Or when my cursor is on it making it the only test in the current context. In that case, all the ...

Convert VS2005 dtsx project from to VS2008

I have a numnber of dtsx projects created under VS2005. When I try to convert the solution to 2008 it converts fine but then the .dtproj file can't be loaded: myProj.dtproj' cannot be opened because its project type (.dtproj) is not supported by this version of the application. I have SQLServer2005 installed but I got rid of VS2005 as...

VS2008 - error in deserialization from web service

Hi, I have an error in deserialization from calling an operation in an external web service (https). The error is "Error in deserializing body of reply message for operation 'score'." Score is a credit score operation. The stack trace includes "There is an error in XML document (2, 157)." but I don't know how to get the XML document so I...

Using Visual Studio 08's Installer, how can I install a Web Application into a path that is NOT under C:\Inetpub?

Hello, I'm trying to alter our existing installer for a web application, so that the files are located not at C:\Inetpub\wwwroot\OurProduct but rather under C:\Program Files\OurCompany\OurProduct, so far with little success. Any help/suggestions will be appreciated, thanks. ...

Not enough storage is available to process this command in VisualStudio 2008

Hello! When I try to compile an assembly in VS 2008, I got (occasionally, usually after 2-3 hours of work with the project) the following error Metadata file '[name].dll' could not be opened -- 'Not enough storage is available to process this command. Usually to get rid of that I need to restart Visual Studio The assembly I need to u...

statically and dynamically linking DLLs generated with different versions of Visual Studio

Hi folks...here's the situation I'm looking for feedback on: At work, one of my responsibilities is maintaining a couple of legacy apps, one of which we'll call "LegacyApp." It's always been compiled with VS 6.0. (And isn't touched much these days.) It uses an API that provides access to some specialized hardware. This API is produc...

Dynamically disable/enable checkboxlist items

i have a CheckBoxList with a list of services that the user can execute... some of this services can't be executed with some of the others, some services can only be executed alone etc.. All this rules are stored in my database. Is there anyway for me to disable/enable (make unclikable) checkboxlist items that can't be executed togethe...

Visual Studio 2008 App.config Caching

For the last couple months i have ben having some issues with my app.config. I will add an AppSetting key and run my project with no real issue it reads the config file and all is good. Then at a later date i will change the value of that same key and when i run my project I will get the old value of the key. It seems like it isnt savi...

Can I use .NET 4.0 beta in Visual Studio 2008?

There are some really great features in .NET 4.0 that I would like to start using but I am not comfortable making the change to VS 2010 just yet. Is there a way to use the .NET 4.0 beta in VS 2008? ...

Designing data templates for WPF

Using WPF, XAML, VS2008, and Blend 2 (or 3 Beta preferred), what is your process for creating data templates? Do you have a process for testing the data template's appearance WITHOUT spinning up your app just to test how the data looks? Is there a process I can use in Blend to make developing data templates more graphical? ...

Visual Studio 2008 and SQL Server 2005

I installed VS 2008 and then installed SQL server 2005 and choose desktop tools but Management Studio does not show up. Any ideas? ...