visual-studio

VS2008 Help: How can I limit the index & search to just topics I want?

Time was that I could F1 a symbol in my .cpp or .h file, and I'd be given a reasonable list of possible topics to delve into. That was long, long ago. These days, I press F1 and I'm rarely given information that is even vaguely, tangentially or tenuously related to the API or subsystem in question. Instead, I am deluged with Windows M...

Visual Studio Add-in. Xml extender.

Gents, I have xml files with such structure in my solution: <control refFile="MyControl.xml"/> So I want to open MyControl.xml by just Ctrl+Left mouse click on "MyControl.xml". I need to develop an add-in for VS 2008/2010 (extender for XML-editor). Can you please suggest resources which can help me to do it? I already know this site...

Why isnt sql management studio integrated in visual studio?

I have both SQL Server 2005 and Visual Studio 2008 installed and think it would be really nice to have SQL Management Studio integrated directly within Visual Studio. Is there a way to make that happen? What about in VS 2010 with SQL Server 2008? I find the Visual Studio Server Explorer window to be much slower too than the Object Brow...

Visual Studio Macros: Loop through Selection, add .Append(" and ") to each line in selection

Found this: Sub SurroundWithAppendTag() DTE.ActiveDocument.Selection.Text = ".Append(""" + DTE.ActiveDocument.Selection.Text + """)" End Sub But I can't seem to figure out how to loop through each line of text in the selection. Any thoughts? ...

Visual Studio 2008 ClickOnce cannot find exe in obj\Release

Project Output Path of the the main application is set to ......\bin\Release\ and was published flawlessly by ClickOnce before. For some strange reason, ClickOnce now fails with the following error: Could not find file 'obj\Release\EMS.OCC600.Infrastructure.Shell.exe'. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targe...

Instruction for installing an environment with Qt and Qt integration with Visual Studio 2008.

I want to use Qt lib but I don't know how to install Visual Studio 2008+Qt+Qtintegration. I have read some forums, that step by step tell what to download, where to download from, and then what to do. But that was for old versions of mentiond products. I ask to Qt developers tell me the way to install these items on Windows. Any forum o...

Windows forms designer renaming copy/pasted controls

I saw a similar question asked and answered for ASP.net here http://stackoverflow.com/questions/484327/how-do-i-prevent-visual-studio-from-renaming-my-controls But I am trying to prevent this while writing a Windows forms app in VS 2008 using c#. I want to copy/paste a ton of controls without them being called Checkbox1 etc. I'd rathe...

Why can't I inspect local variables with IntelliTrace for VS 2010?

When navigating to previous calls/events during debugging with IntelliTrace, I can't see a snapshot of the value of locally-defined variables. When hovering with the mouse I get the message "Intellitrace data has not been collected". Does anyone know why? ...

How to digitally sign soap request using visual studio 2008

I'm using a web reference generated from a .wsdl file. I've also examined the Amazon web service example but couldn't get it working. Enclosed is an example of the soap request. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"...

Apache FOP in Visual Studio 2008

I am writing some XML -> PDF generating templates in Apache FOP for an asp web app. I need to use Visual Studio for my development. Visual studio has great editing and auto complete for regular XSL, I was wondering if there is any way to add this functionality for FOP tags. At least is there a way to stop it from thinking the file is h...

Change ctrl k+c to produce c style comment (/**/) instad of c++ style comments (//) in visual studio

How do i change the comment style used in visual studio from // to /*...*/ ? I use the comment shortcut mostly for commenting out code temporarily. It annoys me that if i select bool abc in the code below and press ctrl k+c void func( bool abc ) {} it produces //void func( bool abc ) {} instead of void func( /*bool abc*/ ) {} ...

Updating SQL Server database with SQL scripts

I have a number of manually written scripts (.sql) for tables, views and stored procedures that are used from an ASP.NET application. These scripts drop the object and recreates them. I need a way to update the database when the scripts change without deleting the object. For example, when a column is added to an existing table that has ...

.DLL comments included in the .XML

I have a .DLL that i include in my Visual Studio 2008 project. The .DLL came with a .XML file that has all the comments for the properties and functions. How do i make it so that VS loads up these comments as Intellisense, so that i have a definition for the functions? -------------UPDATE--------------------- The files are placed unde...

Behavior of deployment tool in Visual Studio Express

I created a quick game in VS Express (2008) and used the built-in deployment tool (click once?) to create an installer. I took it to another computer, ran it (Windows XP) to install from a burned CD. It created the program but only for the logged in user. Is there a setting I'm missing for installing it to all users on an XP system? O...

Installing Visual Studio 2003 on Windows 7 64-bit

My team is currently supporting a 1.1 app and we are installing VS.NET 2003 on Windows 7. We haven't had any issues on the 32-bit machines, but FrontPage Server Extensions are failing to install on my 64-bit machine. Others say that they have done this successfully, so I wanted to know if anyone here has and if they know of a solutio...

How To Work With SQL Database Added As Item In Visual Studio 2008?

If I'm letting Visual Studio take care of adding an SQL Server database to an existing project, it adds the connection string to app.config. How can I use use THAT connection string to make my own connections and datasets? ...

Visual Studio 2008: Find and Replace with new line character?

Sometimes i would like to search for text containing a new line character and there are other times i would like to replace text with a new line character. How can i do this with visual studio 2008? ...

Visual Studio Debugging Issue

Seeing an issue when debugging in Visual Studio. All of the values under watch, and in the hover over window show up incorrectly. the only values that show properly, are values that are local to the method I am currently stepping through. For example the watch value for 'this' when debugging shows the following under value 0x00000000f...

DotNetNuke and Subversion guidelines

I've Googled, Binged, and here at StackOverflow, looked through the related questions and searched, but I'm not finding what I'm looking for. I've also searched documentation on DNN. What I'm looking for is any guidance (tutorials, blogs, step-by-step instructions for setting up a repository) etc from people who are experienced in usin...

[MSBuild Commnunity Tasks] Get problem with Intellisense in Visual Studio 2010

I copy the MSBuild.Community.Tasks.xsd file in MSBuild Commnunity Tasks source code to the C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas\1033\MSBuild\ folder of Visual Studio to get the Intellisense for the tasks but it doesn't work! I did try to add the schema using the property pane when editing the .proj files but wheneve...