visual-studio-2008

Visual Studio 2008 crashes when startup with Qt Add-in 1.1.4

I use Windows 7 x64, Qt Add-in 1.1.4, Visual Studio 2008 Team Edition. Does not work on multiple computers ... reinstalling Windows, Qt Add-in or VS2008 does not help( The error report says that an error in msenv.dll Please tell us how to fix it. If possible, of course. Thank you! ...

How to specify physical path in ASPX page?

I am developing a C# VS 2008 / SQL Server 2008 ASP.NET Web Applications project. In one of my ASPX files I am trying to reference the Master file, which is actually located in the parent website. In other words, when I open the parent website, I see this project listed. But when I open this project separately, I do not see parent webs...

How to map a virtual directory to a website in VS?

I am developing a C# VS 2008 website, trying to add a Master file. I created a virtual directory in IIS housing the "Master" folder, containing the Master files. Now how do I reference these files from my website in VS? One problem is I do not know where I need to publish this Master folder to. Other problem is I do not know how to...

Which component should i use?

I am using the <a> element to increase the font size in my webpage. <a href="javascript:increaseFontSize();">+</a> The problem with it is that i cannot set a background image. So what component should i choose from the VS2008 toolbox that has OnClientClick property and does not post-back? For examaple, i set the OnClientClick proper...

Visual studio feature - commenting code Ctrl K - Ctrl C

I commented on this answer some time ago regarding how visual studio comments out code with // or /* */. I was thinking to revise the answer (to include my findings) but I had to test it first, which kind of confused me. My finding is that depending on what you comment when you press Ctrl - K, Ctrl - C you will get either // or /* */. ...

Installing visual studio express 2010

Hello, I would like to create some test web applications with visual studio 2010 express. I installed Microsoft Visual C# 2010 Express, but i dont have type of project web application mvc 2. What should i install if i want to create a web mvc 2 application? Thanks in advance. Best Regards. Jose ...

Visual Studio 2008: automatic unloading of disabled project

Hello, My Visual Studio solution file has lots of build configurations that significantly differ in which projects are enabled, and which are not. I'd like to automatically unload all projects that are turned off in active build configuration to save RAM and make VS faster. Is this possible? ...

vb.net array for slideshow button

Hey all, i am in the middle of trying to figure out how to go about doing this... I have a form that i call like so: call frmSlideShow.showWhat("1,4,8,9,11,22") Each of the numbers represents a different image slide (slide1.png, slide4.png, etc..). The problem i am having is trying to create a "previous" and "next" button to flip th...

Visual Studio Conversion Suite

I have this as my conversion program for the "Length", how can I do it the simpliest way instead of keeping the if, elseif, else too much, i do not have much experience and trying to improve my programming skills on visual studio 2008. Basically, I get annoyed with the formulas because I don't know if it is right, I use google but doesn...

VS2008 View designer / View code shortcut

Is there any VS2008 shortcut for switching between View designer / View code? I am working on c# projects and I switch these two views a lot. ...

Link error after update from VS2008 to VS2010

Hi all, Today I met an link problem after updating the VS version from 2008 to 2010, the error is something like this: error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string,class std::allocator > & _...

Compiling NVIDIA's Quadro FX SDK (NVGVOSDK) on Windows XP

Hi, I've got an NVIDIA Quadro FX 4800 card hooked up in a Windows XP box and I am trying to compile and run some code using the NVGVOSDK. This SDK is not very well documented and is rather old. I downloaded version 1.2 from the NVIDIA Partners site which is from 2007 but appears to be the latest version. I am trying to compile and run...

Stored Procedure outlining

I have stored procedure (unorganized - not properly outlined) I want automatic outlining in the stored procedure by using VS. ...

Can I use manifests to consume a COM server without specifying its version?

Two of our programs use the same COM server (also made by us) with the same class ids. Each program when installing copies the COM server files into its folder and regsvr32s the COM server. The problem is how to install the COM server so that the user can install either one or both of our programs into different folders in any order and...

Can I use manifests to specify an optional dependency on a COM server?

I'd like to use manifests to specify a dependency on a COM server (reg-free COM). The consumer application will mostly work fine without the COM server - only something like 1,7% of its functionality uses the COM server. So with plain old regsvr32 it would start and work fine until the user would do something that would trigger CoCreate...

Visual Studio Installation Project

When creating a set-up project in Visual Studio 2008, I am trying to create an MSI. I have a standalone installation project - that is, I don’t have a main project to install, I just want to ship some random files. Configuration properties / build shows that it should create debug/myproj.msi. However, if I do a build of either the s...

Creating a custom ribbon button in VS 2008 Standard

I want to create a custom ribbon button within Outlook 2007 using Visual Studio 2008 Standard, but am unsure how to proceed. Most of the resources I've found mention VS 2008 Pro, and this SO answer mentions that VSTO is not even included in Standard. Is creating custom ribbon buttons possible using Visual Studio 2008 Standard? If so, ...

Visual Studio error on valid SQL

I'm getting an annoying error in visual studio for SQL that executes fine. SELECT InvoiceLines.LineID, InvoiceLines.InvoiceID, InvoiceLines.Text, InvoiceLines.Rate, InvoiceLines.Count, InvoiceLines.Rate * InvoiceLines.Count AS LineTotal, ((InvoiceLines.Rate * InvoiceLines.Count) * (1 + Inv...

Visual Studio tells me a css class is not defined when clearly it is

Hi, I'm using Visual Studio 2008 making an ASP.NET page. In this page I'm using a stylesheet at styles/basic.css When I hit F5 to load the page it loads perfectly fine. Inside the style sheet I have defined a .basic style class along with other classes. But when I use body class="basic", Visual Studio tells me "The class or CssClass va...

Why can VS not display my WPF application in the designer, but it can run it just fine?

This is absolutely ridiculous! Visual Studio is able to run (debug) my program just fine, but it won't display my layout in the designer. It just gives this useless error: Can anyone help explain this? I have not changed the XAML at all, not a single character, since the last time it worked fine. I've only changed some .cs code. ...