visual-studio

How to make the ToolTip appear in the foreground of the floating CPaneDialog?

Does anybody has a hint for the following problem? I have a derived class from CPaneDialog, it contains just one button. I want to show a tooltip if the mouse is over it. For this I use CMFCToolTipCtrl: // Create the ToolTip control. m_ToolTip.Create(this, TTS_ALWAYSTIP | TTS_NOPREFIX); m_ToolTip.Activate(TRUE); CMFCToolTipInfo params...

Switch Programming Language

I've forgotten how to switch programming languages in Visual Studio 2008. I need to switch from C++ to C#. Help! ...

Compare Configurations within Visual Studio?

Actually i come around a problem i get more often into as i like to: Consider the following: You just made a new solution/project and start creating/adding all the stuff you need. While you're doing so, you're always on the way within the debug configuration. You make changes to your configuration (in C++ projects especially compiler, l...

Embedded Lua "print" not working in debug mode from Visual Studio

Hi, I am using Luainterface 2.0.3 to embed Lua in a c# application. Everything is working fine, except in visual Studio's debug mode, the Lua's print function does not get written to the console (nor to Output). using System; using LuaInterface; namespace Lua1 { class Program { static void Main(string[] args) { ...

Is there a shortcut to stop outlining in Visual Studio?

Is there a shortcut to stop outlining in Visual Studio? Do I need to use resharper to accomplish this? ...

Open Visual Studio 2008 Project in Visual Studio 2005

Hi all, I have created a project using Visual Studio 2008 and .NET Framework 2.0. Now I want to open it in Visual Studio 2005 (.NET Framework 2.0). When I try to open the solution in Visual Studio 2005 it is showing an error as "It is created using the Higher versions". So is there any way I could open the project in Visual Studio 20...

Remote Debugging is not breaking on errors

I am fairly new to remote debugging in Visual Studio, and by new I mean I have never done it before. Here are the steps I have taken to try to remotely debug an application on one of the servers in our network: open a website in VS2008 "\\server\website" Start the msvsmon service on "server" with "no authentication" and "allow any use...

add to watch versus add to quick watch

Are there any differences between add to watch and add to quick watch? ...

Visual Studio 2008 Team: No call stack when I throw an exception

I am building the debug version of my app, with full symbols. I set a breakpoint on the following line: throw std::range_error( "invalid utf32" ); When the breakpoint hits, my stack looks normal. I can see all my routines. But if I run, and let the exception get thrown, I see a worthless stack. it has MyApp.exe!_threadstartex() towards...

special aspnet_client folder for ASP .Net website

I read that aspnet_client folder contain script which is used by asp .net website for Navigation and validation. This is created by visual studio i guess. When i created two different website, Visual Studio 2008 has already created aspnet_client folder for one of them and it has not created for another website. I would like to know when...

Testing against Web Configuration from Class Library

I'm storing my application settings in my web.config file and accessing them using ConfigurationManager.GetSection or ConfigurationManager.AppSettings. I've created a test to ensure that the settings I'm getting from my class are the correct settings in the web.config file, however, it's returning null values. How can I tell my unit test...

What are the complete steps to remote debug a website built in ASP.NET using Visual Studio 2008?

I have remote debugger setup on both my client and remote machine. I'm just looking for how to use it to debug an ASP.NET website. All Google searches have failed to answer my specific question. Basically, I have open the website in Visual Studio... so where do I go from there? ...

Visual Studio - manage multiple files that are part of one Class - classes, modules...

My VB project is large enough that it requires several files. It was originally developed as a Console App and I created each file as a MODULE. All modules could use subroutines, data structures and constants from other MODULES and everything worked fine. I needed to add basic windowing to the app and this required that the app be con...

breakpoint will not currently be hit, why not?

Sometimes I get the message that the breakpoint will not be hit, and no symbols will be loaded. The red icon in vs.net changes color, and the debug mode just doesn't work. what is the reason for this? ...

[Visual Studio 2008] unable to load Assembly

Hi! I'm getting a strange error from my VisualStudio 2008 installation in Windows 7 and I wonder whether anyone knows how to fix that: Unable to read the project file "cs.proj". Could not load file or assembly Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, [...] System cannot find the file specified. ` I che...

Add J# to VS.Net 2008

Hi, Can I add J# to the VS.Net 2008 IDE... I've got some old J# code to maintain (just until we port it over to C#). ...

ASP.NET cannot access non-aspx files without logging in (.js, .html etc)

I started a new solution with a website project and a logic project for all my class files. I copied the web.config file I use for all my other projects and just changed the database name in the connection string. When I run this project to be debugged, it won't let me access any files until I login. This includes javascript files, html...

How to debug ISAPI using Visual Studio

Hi guys, as title, my friend's environment is Windows 2003 server. He attached the IIS process and set the breaking points at codes supposed to run, but VS doesn't stop at all. The ISAPI is written with VC++. Is there any setting he need to set up? Thanks. ...

Resharper: how to see only particular group of members

I'm using shortcut alt+\ to list all members in file. Is it a way to list only specified type of members (properties, methods, fields ...) Sometime this is very useful Eg DPack can do that by alt-p (props), alt-m (methods) ...

Data symbol exported in both DLLs despite dllimport

Hello, I have a problem concerning the export/import of a global variable in a DLL. I have a static library which contains a global variable such as : In the header : #ifdef _ENGINE_EXPORTS extern __declspec(dllexport) Globals data; #else extern __declspec(dllimport) Globals data; #endif In the source file : #ifdef _ENGINE_EXPORTS ...