visual-studio-2008

Problems with Qt 4.6 in VS 2008

sys info : win xp SP3 , Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM Microsoft .NET Framework Version 3.5 SP1 Qt Add-in 1.1.5 I installed Qt 4.6.3 from the site http://qt.nokia.com/downloads/windows-cpp-vs2008. Then I added the Add-in Qt 1.1.5 and configured the PATH variable. When I open a new QT project , default example wo...

Breaking on a button click event in Visual Studio debugger

This question is regarding the debugger in Visual Studio 2008. I am working on a C++/MFC application with a huge codebase (thousands of .cpp files). I'm looking for a way to tell the debugger, "The next time I click a button in my app, stop at the function called by that button". I'm trying to avoid trolling through those thousands of fi...

VS2008: no symbols when remotely debugging a C# installer class

Following on from Debugging C# Custom Installer Classes, I am attempting to remotely debug a setup process running on another PC. After connecting to the remote msiexec process, the debugger reports that the PDB does not match image. I have verified that remote debugging works by successfully connecting to and debugging a "normal" proce...

visual studio 2008 loading template problem

hi, i was trying to create a new silverlight solution using visual studio 2008 and am getting the following error: Error: this template attempted to load an untrusted component 'Microsoft.VisualStudio.Silverlight, Version=9.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more information on this problem and how to enable...

How do I set the language for datetimepicker?

Is there any property to set the language for datetimepicker? When displaying the calendar, that is - if I want the week days to be displayed in Spanish, for example... ...

keyboard shortcut for viewing/applying available refactorings

I just installed CodeRush Express and was wondering is there any keyboard shortcut for viewing/applying available refactorings. Currently I have to click on the small underline/underscore to get the available refactorings. ...

Silverlight 3 breakpoints not hit when launching external program

I'm using Visual Studio 2008, Silverlight 3 and IE 6 (don't ask). I'm trying to launch and debug the application with F5, but the debugger says my breakpoints won't be hit because the symbols aren't loaded. My default browser is actually Firefox, but I am setting the Start Action of the project to specifically launch IE and point it at...

How to get Class propertyName to create lable?

how can i learn propert to create page form in asp.net class MyClass { public int id { get; set;} public string Name { get; set;} public string Name { get; set;} } ForExample : (To generate programmatically Asp.net forms) void SetRecursiveTextBoxAndLabels() { Label lbl; MyClass eng ...

msi Installer Uninstall

I have an msi installer (VS2008 set-up project). What I would like to happen, is for the installer to initially detect if the software is already installed on the machine. If it is, then to uninstall that software and then continue the install. There are a number of properties, such as DetectNewerInstalledVerision, RemovePreviousVersi...

How to figure out why VS hangs?

Suggestion from a work colleague - when VS is very very slow or is hanging: Open a second copy of VS and attach its debugger to the first copy. When the first copy hangs, pause it in the second copy and look at the call stack.. I thought it was a cool idea... but would am I missing something here? Are there any pitfalls wit...

Trouble with building Cuda programme in VS2008: LNK2019

Hi, I am having some trouble with building my programme. I am working on Windows 7 professional 32-bit with Visual Studio 2008. I have the Cuda SDK and my project is set up with all links to cudart.lib etc. My problem is when I try to build my project it returns the following errors: 1>crowdSim.obj : error LNK2019: unresolved externa...

Windows Service Setup Project Problems Converting From VS.NET 2008 to 2010

I'm trying to convert a solution from VS.NET 2008 to 2010. The solution includes a Windows Service project and a Setup project that installs the Windows Service. I'm having trouble compiling the Setup project. I've tried starting this over from scratch a few times, following the tutorial here under the section titled To create a setup pr...

Import, migrate or otherwise create a new VS project or solution for current ASP site that has none

8yr old Classic ASP site needs to be migrated into a new VS solution or project as it never was created with one and I need to modify, but I am having no luck I have tried copying to InetPub and building from there but in VS it only wants to load each file individually which is a hassle. ANY ideas tips or pointers would be greatly appre...

Unresolved external symbols in compiling 32 bit application in Windows 64

So I am trying to compile legacy app from 32 bit to 64 bit.. I re-compiled all of the libs it used and made it look into WIN SDK6.0A x64 bit for libs.. I am using: Visual Studio Professional Edition 2008 Visual C++ dotNet Framework 3.5 SP1 Windows Server 2008R2 Windows SDK is 6.0A Everythings finally coming up but I am getting these...

TypeInitializationException for Visual Studio 2008

Trying to setup my laptop to edit and run my C# application which called C++ dll. compile is ok, but when I run it, TypeInitializationException was unhandled error happened. It said: The type initializer for '<Module>' threw an exception. I also installed Visual Studio 2008 sp1. No any problem at my desktop computer. Same OS, window...

Visual Studio 2008 ASP.Net Debugging Zombie Breakpoints Come Back After Being Deleted

In Visual Studio 2008 while debugging an ASP.Net website I set a breakpoint in the codebehind page. I refresh the page or submit to call the method, the breakpoint is hit. Then I delete the breakpoint and continue execution. I make a change to the codebehind page and save it. I submit or refresh again and the deleted breakpoint is back! ...

Visual Studio 2008 C# project now can't find my references -- likely causes?

Hi everyone, I'm using VS 2008. In one of our web projects, for some reason, I'm suddenly getting yellow exclamation marks indicating missing references. I'm not sure why. If I look at the .csproj file in a text editor the references in question are in the project folder structure, tucked in a subfolder, and sure enough that folder a...

smart tags (aka ActionList) crash in visual studio

Adding smart tags in VS2010 (or VS2008 for that matter) to my control makes VS crash. The following designer is used for the action list: internal class DataEditorDesigner : ComponentDesigner { [...] public override DesignerActionListCollection ActionLists { get { var lists = new DesignerActionListCollection(); ...

Rotating label text and buttons through 90 degrees

Hi, I am trying to rotate a label through 90 degrees. At the moment I can take the text from the label and rotate that, but what I want to do is actually rotate a label of my choice, or if I were to be really flashy, lets say a button control. So using the code below, how can I modify it so that I can feed it a control and get it to r...

Unable to select control in Designer of VS 2008

Hi all, I'm unable to select controls in window form in VS 2008, whenever i try to select any control, the window will be selected instead. It's as though they're read-only. Does anyone know how to solve the problem? *I'm using DiveElement sanddock in the form, will it be the cause of the abnormality? Thanks. ...