visual-studio-2008

Navigation error in ASP.net website

I have developed a website using visual studio 2008. Which uses active index to navigate from one page to the next page. It will increment the index when the user clicks the next button. According to the incremented value , next pages has been navigated There is a drop down in the first page with values (A,B,C,D) Normally, Website n...

COM registration error in Visual Studio 2008 setup project

I'd like to register Outlook Redemption as an isolated COM component using a Visual Studio 2008 setup project. After adding Redemption.dll to my setup project, if I choose either vsdrfCOMRelativePath or vsdrfCOM options in Properties > Register, I get the following error. Exception EAccessViolation in module msvbver.dll at 0000A15F. ...

Opening VS2008 Project from VSS under Windows7

I have a fresh install of VS2008 and VSS under Windows 7. When opening a project I get a file requester that has a Source Safe icon on the left, but when I click it, there's nothing listed. I've launched VSS and setup my repository and that's all good. How do I open VSS projects? Never had this issue until Windows 7. ...

Checkbox: Display depending on value of session?

I have a two checkboxes on different pages. I am sending the value from the first checkbox using session like this: protected void Button4_Click(object sender, EventArgs e) { Session["VSSsnap"] = CheckBox1.Checked; Response.Redirect("~/Addnewpolicy4.aspx"); } I receive this session like this on ...

The assembly with display name 'VJSharpCodeProvider' failed to load

I added an AjaxToolkit:AutoCompleteExtender to my ASP.Net 3.5 application. The web service lives in the same web application. Now I am getting this error when I hit F5/Debug in VS2008, and backing out the changes step-by-step so far have not revealed the cause yet. I can't seem to get rid of the error. While the application starts up a...

How to force VS2008 to "Generate Create Script to Project" to multiple files when multiple stored procedures are selected?

I'm using Visual Studio 2008 Developer Edition and I've created a Database Project and want to generate CREATE scripts from my database and save them in my database project. It works just fine when I select a single stored procedure in the Database and click "Generate Create Script to Project". The problem is that when I select MULTIPLE...

nHibernate & sqlite mappings

I'm having real problems with setting up nHibernate with sqlite. Here is the hibernate.cfg.xml file: <?xml version="1.0" encoding="utf-8" ?> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> <prope...

What do I need to create an "Office" project in Visual Studio 2008?

I have Office 2007 installed(with .NET support checked everywhere) and VS 2008(with all updates). My problem is that there is no Office category when creating a new project. What else do I need to create an "Office" project? Office is just not there.... ...

Is there a Visual Studio 2008 keymap profile for Netbeans?

I know there are keymap profiles for Eclipse and Idea that reflect the VS 2k8 key mapping / shortcuts experience quite well, but do you know where I can find one for my IDE of choice, Netbeans? Could importing from another IDE be possible as well? Many thanks, sk ...

Visual Studio 2008 - Quick Find File Shortcuts - like textmate on macs...

I recently moved from a Mac + Textmate back to Visual Studio. The one thing I absolutely loved about textmate was it's find/search feature. It made navigating solution files so easy. Is there an equivalent shortcut/addon for Visual Studio? ...

Difference between application from VS08 Professional and Express.

Can I distinguish between compiled application from VS2008 Professional and Express? ...

Why can't I connect to Team Foundation Server ?

I had installed VS2008 and VS2008SP1 on my machine a few month ago and today I tried to install TFC again installed VS2008SP1. But when I try to connect to another machine within domain which my computer belongs to, I get this error message: "TF31002 Unable to connect to this Team Foundation Server......" I should say that I use Wi...

VisualStudio.TestTools.WebTesting.TestDescriptionAttribute Syntax

What is the syntax to use the [TestDescriptionAttribute][1] of a test to populate the Description column in the Test Results window? Context: Visual Studio 2008 Team System I've read the documentation, but am not able to find a concrete example. Based, loosely, on Ngu's suggestion, I've tried: using GlobalSim; using Microsoft.Visual...

Visual Studio 2008 Managed Incremental Build doesn't work

Dear Lazyweb, I have "Managed Incremental Build" turned on in my managed C++ project. I have a DLL written in C#, and the solution contains both the C++ and C# projects. I have not defined any dependencies between the projects, but the C# DLL is referenced by the C++ project. The problem is that whenever the C# project is rebuilt, the...

Problem installing visual studio service pack on Windows 7

I recently installed Windows 7, then installed Visual Studio 2008. I would like to install SP1 for Visual Studio in order to use MVC but I got an error. I found an answers on SO that suggested a certain patch. I anstalled the patch but still have a problem, see a screenshot here. What to do now? ...

MSBuild, VS2008 solution and CI - what are the best practices?

I am setting up a CI system for VS2008/C# desktop project, nothing fancy, just a build/test cycle. CI will be running under Hudson using MSBuild/MSTest, but I can't seem to decide on a how to do a few things, maybe you can help me out? My options for running the project in the CI are: Run the .sln directly from MSBuild Run the .csproj...

Problems setting breakpoints for JavaScript in Visual Studio 2008

I'm trying to debug JavaScript in Visual Studio 2008. I use ASP.NET MVC, jQuery, and jQueryUI. I can set a breakpoint, but when I start debugging Visual Studio changes the breakpoint icon to one with a warning. Hovering over the icon then reveals a tooltip which says: "The breakpoint will not currently be hit. The document is not lo...

MS Visual C++ 2008 Express cannot find path

I'm trying to do something basic #include <iostream> using namespace std; int main() { cout << "Hello, World!"; return 0; } After using F7 I get 1>mt.exe : general error c10100b1: Failed to load file "..\Debug\helloworld.exe". The system cannot find the path specified. So it cant find the file that it'll eve...

Visual C# Express solution file

I can't open a Visual Studio 2008 Windows application solution file into Visual C# Express. How can I fix this? ...

VB.NET project upgrade VS2005 to VS2008

Hello, I have a VB.NET 2.0 project developed using VS2005 Free Edition and I am considering to upgrade it to VS2008 FE, mainly because I have problems once per year, whenever my Temporary Certificate expires. I was wondering if you can point to some resources describing in what parts of the code I should pay attention after the upgrade...