visual-studio-2008

Web setup Installer(MSI) error on windows server 2008 environment

Hello!, I have developed a Web Application on VS2008 and I have created WebSetup for my web site. It is working fine when I install this MSI or setup.exe on windows server 2003 environment. If I tried to install on windows server 2008 using MSI file it is throwing error as below- "You do not have sifficient privieges to compelte this i...

Within a Visual Studio 2008 Add-In, how can I tell which interfaces a class' property implements?

In a Visual Studio Add-In, I'm enumerating over the members of a class in the current source file. When I encounter a property (e.g. CodeElement.Kind == vsCMElement.vsCMElementProperty) I cast that CodeElement to a CodeProperty and I can see the property's name and type. What I'm having a problem with is getting a list of the propert...

How to skip building the current project and move on to the next project in the soltuion when building the solution

I have a condition, for simplicity let's say if a A.txt exist in the folder. I have couple projects in the solution, and when building projectB, I want it to check this condition and it should only continue to build the project (produce the project .dll file) if the condition failed. If the condition passes, it should skip the current ...

Filtering warnings in Visual studio 2008

Hello, I opened up a huge Solution in VS2008. I has about a little over a thousand style cop warnings. I don't have resharper or any other commercial visual studio add-ins. Is there any way I can filter the warnings, so I can just look at the items pertaining to one file (the current file)? I could sort by filename and scroll to th...

VS 2008 SP1 craching when I open an ASPX file on Windows XP

VS 2008 SP1 craching when I open an ASPX file on Windows XP Has anyone experienced this before ? VS does not give me any error messages. It simply shuts down very quickly. -- plugins : VisualSVN (had Resharper 5.0 RTM but removed it trying to fix the problem) I am able to open the files with notepad and to modify them with notepad. ...

How to enable an AdventureWorks database in a web application?

I am developing a C#/SQL ASP.NET web application in VS 2008. I want the users to be able to select an Adventureworks table and then an input file. The user is then able to map columns from the file with the selected table. This app works fine now in VS. But when I Browse in IIS, it doesn't show any of the tables. I think this is bec...

Has anyone had trouble with Intellisense in Visual Studio when using UltraVNC?

Hi, a colleague and I are trying pair programming for the first time. We both remote into a development machine; I'm using RemoteDesktop and my colleague is using UltraVNC. This works great except that he can't see the Intellisense dropdown in Visual Studio 2008. According to online posts, this may be something to do with DirectDraw...

Creating a tool dockable window for visual studio

So I have a web service system for mananging development projects, what I would like to do is create a visual studio plugin that accesses the web service and returns a list of tasks for the current users (via some sort of login). Looking round the internet I can't find any good examples or tutorials on how to create a visual studio plug...

How can I tell the Visual Studio debugger to never step into a specific file?

I have a couple ANTLR-generated code files, and I'm currently happy with how they are working. I'd like to configure my project in Visual Studio (2008) so the debugger skips over methods defined in those files. How can I do this? ...

'dxerr9.h': No such file or directory

I am trying to compile a program I took off a cd from a book that uses directx to render 3d objects. when i press compile I get the following error C1083: Cannot open include file: 'dxerr9.h': No such file or directory I am using VC++ 2008 Express Edition and i am running off of Vista. I went to the following folder [edit] C:\Prog...

How to configure an index.htm file in IIS?

I am running IIS 6.0 on an XP OS using VS 2008 and SQL Server 2008 (Full install). I developed two web apps. Both of these I can run from IIS by setting them to the default website. However, now I tried adding an index.htm file. Real simple; all it has is two hyperlinks to these web apps. But now only the first web app works. The f...

Compiling and linking libcurl to create a stand alone dll

Possible Duplicate: DLL dependant on curllib.dll - How can I fix this? Hi, I've managed to compile a dll with the necessary linked libraries (*.lib) and with CURL_STATICLIB set in the preprocessor section among other settings. I'm using "libcurl-7.19.3-win32-ssl-msvc.zip" package and compiling with VS 2008 express. This has b...

Resharper plugin to sort the methods alphabetically?

Does something like that exist? ...

Deploying application with ClickOnce to network share while being offsite

I have application written in Visual Studio 2008 which I deploy with ClickOnce to network share while at work. Sometimes I work from home and I don't have VPN that allows access of shares to deploy application from outside of company. Is there a way that I could simple pack it, send thru FTP and unpack it on the server so that ClickOnce ...

how to show only hh:mm in DataTimePicker ?

hi i have DataTimePicker control in my form. i want to show only hh:mm how i can do it ? thank's in advance ...

In VB.net websites, VS2008 ALWAYS uses space indentation for new files

So, I've changed my settings in Tools | Options | Text Editor, for All Languages, Basic, and C#, to having Block indenting, and 'Keep tabs'. I've also tried this with Smart indenting too. Now, although once I start editing a file, its auto indentation is done with tabs, when I create a new web form in my ASP.net website, VS2008 insists...

How do I set a resource file to non-embedded

In Visual studio 2008 is it possible to have a resource file that is included as a separate file after compilation rather than as an embedded resource. This is to enable small changes to be rolled out more easily. I have tried build options of Resource, None, Compile and also copy local on and off for most of these. However when ever ...

Visual Studio DataSet Designer Refresh Tables

In visual studio datasource designer is there any way to refresh a table and its relations/foreign key constraints while keeping the custom queries? The way I am doing it at the moment is removing the table and adding it again. This adds all the relations and refreshes all fields. Also if I change a fields data type, is there a way to ...

Silvlerlight 4 development using VS 2008.

My current software is based on Silverlight 3 and i am using VS 2008 and Blend 3 for development. With SL4 out in the wild, can i use my existing tool set (VS 2008 atleast) to develop SL4 code? ...

How do make unwanted namespaces to not appear by default on top of new classes

In Visual Studio 2008 C#, if I create a new class the following namespaces appear by default and I remove them manually every time. Is there a setting/folder template where I can go and remove these unwanted namespaces from appearing on each and every new class that's created on the project? using System.Collections.Generic; using Syste...