visual-studio-2008

Visual Studio 2008 Keyboard Shortcut to display Members?

What is the best way to display the Members in the current file in VS2008? SCENARIO: You open a file with ctrl + d and then type “>of ” and SomeFilename, then press enter and you end up in the newly opened file. Now if you don’t remember a method’s name or a member’s name, you might try to incrementally search (ctrl+i) and/or various s...

Visual FoxPro and VS2008 do not show all DBF records. A separate build does.

Hi, I am working on a project in Visual Studio 2008 (in vb.net). The app needs to import data from a Visual FoxPro database (dbc file). Do not ask why FoxPro. It needs to be vfp and the database is updated daily by another application; therefore, I cannot use any other database format. I connect to the database through OleDb FoxPro dri...

How the websites should be organised?

For example how this site is organized? What i do not understand is what they upload to the Microsoft server? I have created, with Visual studio, a very small web-page and i have to upload the whole site, even after the smallest change... ...

Access to Path Denied - Vb.Net

Hey guys, I have this small file search engine here made in VB.NET: ListBox1.Items.Clear() ListBox3.Items.Clear() ChDir("C:\") Try For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.CurrentDirectory, _ FileIO.SearchOption.SearchAllSubDirectories, Te...

Can't hit breakpoint in ASP.NET web app (Stop debugging in progress... popup in VS)

Hi, I am trying to debug some code in my ASP.NET web app. I set a breakpoint in one of the page events of the page's codebehind, and this once came up with a special icon in place of the red breakpoint saying symbols have not been loaded and the breakpoint will not be hit. This error has not repeated itself but why can't I hit the bre...

DatagridView: on every "onmouseenter" on any cell, the cellFormatting event is raised?

Hey guys: I have a Datagridview, on wich i need to validate the user input on certains rows, and change it acording to it's value. As a example, if the user input a product code that doesn't exist on the DB, a search for a product dialog raises and search for the product and returns the correct code. So after reading around a lot, I deci...

Applications based on Visual Studio Shell

I like to know the list of applications using Visual Studio Shell Platform, to understand its capabilities. As of now i know IronPythonStudio ...

friend function declared inside befriended class, GCC does not compile

Hello, I've got following code: File: Foo.h class Foo { friend void Bar(); }; File: Foo.cpp void Bar() {}; File Test.cpp #include "Foo.h" int main(void) { Bar(); return 0; } VS2008 compiles this without any error or warning. G++ 4.3.4 reports: test.cpp: In function ‘int main()’: test.cpp:8: error: ‘Bar’ was not d...

auto generate class diagrams from solution?

Is there a free tool that can create class diagrams for us? We want to run this on a solution and have the software generate a complete diagram of the classes and inter relationships for us. A UML - like diagram would be best. We currently have VSTS 2008 and it would be great if this was built in. ...

"Unable to start debugging" message in VS 2008

I have this message when I start debug in VS 2008: Error while trying to run project: Unable to start debugging Because of this I cannot debug any programs any more. Any ideas what causes this? ...

Why doesn't Visual Studio 2008 permanently show Class Name column in Test Results window?

Using the Show/Remove Columns context menu option in the Test Results window I can show the Class Name column. However, when I then close and reopen Visual Studio 2008 the Class Name column is not longer there. How do I permanently display the Class Name column? EDIT: I started this edit thinking I'd found the reliable way to reproduc...

how can I get test coverage statistics for VS2008 C# project

Hi, I am using Visual Studio 2008 for a C# WinForms application and I am using the MSTest unit testing framework. It doesn't seem to have test coverage (I think it's in Team System?). What is the easiest (cheapest?) way to get some test coverage statistics for my project here? Effectively just an indication of for each *.cs file the...

What is the VC Accelerator Editor in Visual Studio 2008

Is this for C++? Is this for C#? What are Accelerator Editors in general? EDIT It seems that Accelerators are Keyboard Shortcuts. So now I really just want to now if VC is C# or C++? ...

Visual Studio local project setting best-practices?

How do people commonly store local .settings files for their projects? For example, I have a solution for a web project in Mercurial. I have a data project containing my entities and repositories. My connection string is stored in Settings.settings and I'd like to have different sources depending on my location. I was thinking I could s...

How do I pass installation dir from the installer to a custom action?

I've been trying to achieve that for the last 2hrs. Can anyone help me out please? I'm trying to pass the installation directory to the custom action. ...

Are there any layout comparison / vssetting sharing places?

Well, I reinstalled Visual Studio 2008 and did not have a backup of my vssetting file. I did not think it was that important as I had barely customised it, however it just doesn't feel right! The general windows feel correct but When I switch between views (source code, Windows forms, web editor), all the toolbars get muddled up. In th...

Writing a visual studio plugin?

I'm looking for resources on writing a visual studio 2008/2010 plugin, preferably a book of some sort. ...

How to disable javascript debugging on Visual Studio 2008?

Hello mates, I'm getting crazy with the VS2008 javascript debugging. Every time I run my web application (mvc) it starts to debug everything. I don't want it! I didn't find any option for that and I already disabled js debugging on IE. Thanks ...

Compile Combination of qtwinmigrate + qtpropertybrowser Under VC++ 2008

I need to display a property browser under a MFC app. I try to combine and compile the solution for the two http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Windows/qtwinmigrate/ http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qtpropertybrowser/ I am using VC2009, QT 2009.04 with Visual Studio Add-On...

User control in .Net during development

Hello I've noticed that when developing an user control in vs2008, that I have to build the user control each time I want to see the changes that I've made. Changes that usually doesnt requiere that I build the project aren't visible until I compile and build the project. This mean that it take a lot more time to develop since the site ...