visual

Can't open a .dbproj file from VSTS DB Edition

Hi, The title says everything. I'm using Visual Studio Team System 2008 Database Edition and I just can't open any database project. I get the following error message: '..' cannot be opened because its project type (.dbproj) is not supported by this version of the application. To open it, please use a version that supports t...

Update service references in multiple projects?

I have a visual studio 2008 solution with approximately 15 projects. Several of these projects have a WCF service reference to a WCF service project. Whenever I update the service project, I have to go to each of the other projects and right click the service reference and update it. Is there an easier way to do this, like a "Update Al...

Any issues working with TFS 2010 and where company has vs2008 and office 2003

I really wanted to know if people have found any compatibility issues working with TFS 2010 and projects in vs2008 in terms of source control, daily build, continuous integration, work item tracking, etc. I understand that we can connect to TFS 2010 from VS2008. We are planning to onboard to TFS, but really need to make a choice between...

Visual studio 2008 and sourcesafe 2005 integration

I understand the labeling and branching of vss, but how do i implement it with visual studio 2008. for example i am labeling all the files in my project as "version 1.0" and then (after that changes checkouts and check ins made) i want to bring version 1.0 back to visual studio. how do i do that from visual studio? or do i have to do it ...

Stop formatting portion of the code in Source Editor in Visual studio

In visual Studio aspx editor, i want to stop portion of the code to be formatted on format using ctrl - K ctrl - D . Problem faced. I am using two validator with text '*', both should be in same place i adjusted using css. But when format the code , this formatting introduce extra space. If anybody knows the solution for this,...

Is " " a replacement of " "?

In my ASP.NET application, I was trying to add few white spaces between two text boxes by typing space bar. The equivalent HTML source was   instead of  . So I just wanted to check: is this the new replacement for white space? If yes, any idea why they changed? ...

How do I change the screen working area using SHAppBarMessage in Visual C#?

I've been looking at the MSDN article for visual C++ and it looks kind of intimidating: http://msdn.microsoft.com/en-us/library/cc144177(VS.85).aspx All the other articles that I've been linked to 404. Basically, I'm creating a desktop application toolbar that changes the working area of the screen when it's docked so that no maximized...

xml technique with visual studio projects

I am programming in .NET (C#) using Visual Studio. I want to use am XML file to store some information in my program. No other programs will ever need to access this XML file and no one will need to access/modify it manually our without using the program. I am wondering what build options I should select for this file or if it really mak...

Help box similar to Adobe Live Docs

Is there any visual component in flex as used in Adobe Live Docs ( Yellow box that can be expanded or collapsed) at the bottom. I have uploaded the screenshot of that box too: http://tinypic.com/view.php?pic=2mxfvyd&s=3 I am looking for the same type of visual element/component in horizontal. ...

IIS 7 ASP.Net 4 - Code Behind Auto Compile Not Working

I fired up my first asp.net 4 app put together with visual studio 2010 and IIS doesn't seem to compile my code behinds on the fly for some reason, I have to build the site manually. How do I configure my app to compile code behinds on the fly? I looked around but I must be missing something. Never had this issue before. Thanks all, b...

How to suppress a StyleCop warning?

I'm using StyleCop and want to suppress some warning which does not suit my style. I prefer to have solution for 1) in-line code suppressing and 2) global setting suppressing . I've searched the internet but still not sure how to do the suppressing. For method 1), They said to add the lines [assembly: SuppressMessage("Microsoft.Design"...

Windows Service Multi Core Utilisation

We have an number of old visual C++ 6 windows services that are currently running on a single server. The problem seems to be that all of the service seem to utilise only a single core. (There are 4 cores) Isn't the multi core utilisation (on windows server 2003) supposed to be optimised by the OS? ...

MS Unit Testing in VS 2010, Test Method [my method] threw an exception: ..., WT*?

Hi, I've got an ASP.NET MVC 2 Web app in VS 2010 and decided to try using MS unit testing stuff. What do you know, on the first test I created it gives me grief and refuses to elaborate. I have created a single test class and a single test method. I am using Moq to create a HttpContext (including Request, Response, Session, QueryString...

Windows API usage

I have created a C project in Visual Studio 2005. Whenever I am using any Windows API(CreateFile,CreateProcess,RegOpenKeyEx,etc),they are not working fine,means resulting in error return value.I am not getting any compile error. Are they related to project settings,etc ...

How to disable the users abilities for the Devexpress GridView

I am using the DevExpress.XtraGrid.Views.Grid.GridView within my Visual Studio 2008 application and thought I limited the abilities of the user but I was mistaken. I am programming in VB.NET but I can easily translate from C#. I went into the properties of the gridview and set ShowGroupPanel, AllowAddRows, AddNewColumns, AllowDeleteRows...

VS2010 Changing style sheet based on the browser

In Visual Studio 2010, is there a way of changing the Cascading Style sheet on the server-side based on the client browser? I want to create different style sheets for the different browsers (Firefox, Chrome, IE, Opera, Safari etc..) and specify which one to use from the master page. ...

Debug a Windows Mobile 5 Application on a Physical Device

Hi, I'm trying to debug and test my application with a Dell Windows Mobile device using Visual Studio 2008. I can connect to the device and deploy it on to the device using ActiveSync. The problem I'm having now is that when debugging, after the project is deployed on to the device, the breakpoints are never hit and the application just ...

Visual Studio 2008 Setup Project

I need to build a setup project for an windows application I developed in C#. Along the way, I need the user to be able to set the database server/instance name along with authentication type, and a username /password if they are using SQL authentication. This connection string is stored in my app.config file. Once setup is complete, a ...

Extending Visual Studio

How can I extend Visual Studio or create a macro that allows me to generate a local resource for all pages automatically? I have about 500 pages and UserControls, and it's difficult to generate resources for every page individually ...

How to sign text or XML with PFX asking for the private key password. (VS 2005)

Hi, I´m trying to sign some text or XML node using my certificates, installed on Internet Explorer or from filesystem (or some method!)...but I want to ask the user for his certificate password when signing. If i´m not wrong, I think that I need that password to access the private key and with that key, sign my data....is ok? Nothing t...