visual-studio-2008

"Run Custom Tool" has disappeared from context menu in VS2008 Professional

After Right click on **.tt files -> I can't see it from the properties window neither ... I have CodeSmith 5.1 installed also ... ...

Visual Studio 2008 Crystal Reports - Horizontal Reporting

Hello everyone, Is there a way to setup a crystal report horizontally so that I would have my groupings span across instead of vertical? thanks in advance ...

Where does ViEmu save mappings and stuff ?

Where does ViEmu save my custom mappings and settings I use ? Something like _vimrc, but I can't seem to find it. This is the same question I've asked a little while ago at SU; but then thought it might be more fitting here. ...

Compiliation errors on boost files

I'm getting a lot of errors compiling code using the boost libraries, mainly when I'm using Spirit namespace. The errors are syntax errors on boost files like: boost/spirit/home/classic/dynamic/lazy.hpp(33) : error C2143: syntax error : missing ';' before '<' or boost/spirit/home/classic/dynamic/lazy.hpp(33) : error C4430: miss...

How to disable annoying error: Generation of designer file failed: The ID 'someID' is already used by another control

In VS2008, if you have disabled 'Auto ID elements on Paste in Source View', if you then copy and paste a control or group of controls, you get the annoying Error List window popping up telling you: Generation of designer file failed: The ID 'someID' is already used by another control. I realize under: Tools, Options, Text Editor, HTM...

Intercepting combobox dropdown

Urgh, I have spent the last couple of hours on this now. I normally end up finding the answer from a bit of Googling, but not with this one. Bit of a headache. My questions: How can I catch when a user clicks the dropdown arrow on a combobox and prevent the dropdown list from being displayed. How can I then clear and populate the dr...

Visual Studio debugging execution path.

I have c code like. FILE * fin = fopen("myfile", "rb"); if (fin == NULL) { printf("file myfile does not exist, closing"); return false; } It works when compiled, but not in debugging mode (stepping trough) where it return false. checking argv[0] is ok and absolute paths are working both ways. ...

Debugging a makefile step by step

I want to debug a makefile . I came across many posts in Stackoverflow but still need some help . INCLUDEPATHS=/I"/C:/wxWidgetsDev/lib/vc_lib/mswd" /I"/C:/wxWidgetsDev/include/msvc/" LIBPATHS=LIBPATH:"/C:/wxWidgetsDev/lib/vc_lib" HEADERS=headers.h util.h main.h serialize.h uint256.h db.h base58.h I am using Visual Studio 2008. The IN...

SQLite & Linq - how can I visually design the .dbml file?

SQLite first timer, and I want to use Linq for data access. I made a SQLite database with sqliteadmin, and added it as a data source in VS2008. The problem is that when i try to drag&drop a table from the server explorer to the .dbml file, i get the error: "The selected object(s) use an usupported data provider." I used .NET ...

How to export all the dependant dll automatically

I used C# to write a program in .net framework 3.5. But when i finished that and move it to another computer which .net framework 3.5 is installed , the program can't be start. It miss some dependent dll. But when I move this program to a computer that installed visual studio 2008, it can run perfectly. So what can I do to export...

Add Existing Files to Visual Stuido 2008

Duplicate: http://stackoverflow.com/questions/57776/how-to-add-existing-item-an-entire-directory-structure-in-visual-studio Hello, I am adding existing files to my web application. The directory structure is fairly complex. Is there a way to add this entire directory structure without manually adding each folder and file to the applic...

How to use CWnd::CreateEx

I was using CreateEx( 0, className, "XXX", WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, rect, parent, 0); in Visual C++ 6.0. when i port the same to VS 2008.., its giving an error message saying that.. error C2664: 'BOOL CWnd::CreateEx(DWORD,LPCTSTR,LPCTSTR,DWORD,const RECT &,CWnd *,UINT,LPVOID)' : cannot ...

Windows Mobile application in full-screen mode

I have a Windows Mobile application developed with Visual Studio 2008 and C# (Smart Device Project). When I run the application there's a start menu bar visible on the top and keyboard bar on the bottom. How can I make my application run in full-screen mode? If possible I would like to have a solution that will allow me to turn full-scr...

How to do this Visual Studio, VSS, VM setup?

Our team recently got new dev machines, but our team lead has a special case that needs to be addressed and I'm not really sure the best way to set it up. The particulars... New machines are running Server 2008 Visual Studio 2008 and sometimes 2005 We have a virtual machine of XP setup on our machines, for cases like this Sigh Yes we ...

Attach child process to debugger automatically

If the main process is currently being debugged in Visual Studio, how can I have it so any new processes it spawns are also attached to the same instance of Visual Studio as the main process is? Currently the new processes are created just with a CreateProcess call, however I can add extra code or use a different API altogether if neede...

C# backgroundWorker reports string?

How can I report a string (like "now searching file. . .", "found selection. . .") back to my windows.form from a backgroundWorker as well as a percentage. Additionally, I have a large class that contains the method I want to run in the backgroundWorker_Work. I can call it by Class_method(); but i am then unable to report my percentage d...

Visual Studio Debugger Mysteriously Disabled? How do I get it back?

This morning it seems that my Visual Studio debugger is disabled. When I press F5 or manually click on the "Debug > Start Debugging" menu item, the project builds and the browser opens up as expected (asp.net mvc) but the debugger doesn't start. What has happened to my IDE settings? ...

How can I call a method on a form from a method called from an external class from a backgroundWorker?

How can I call a method on a form from a method called from an external class from a backgroundWorker? I believe that delegates are somehow the answer to this question, but after spending time reading, I still am confused by this problem. This is in Visual Studio 2008, the backgroundWorker is run from the form and calls ExternalClass.Me...

How to make std::vector's operator[] compile doing bounds checking in DEBUG but not in RELEASE

I'm using Visual Studio 2008. I'm aware that std::vector has bounds checking with the at() function and has undefined behaviour if you try to access something using the operator [] incorrectly (out of range). I'm curious if it's possible to compile my program with the bounds checking. This way the operator[] would use the at() function...

What are the secret productivity tips to be awesome at ASP.Net, Visual Studio 2008, and Sql Server 2005

Recently I witnessed an acquaintance developing an ASP.Net site with SQL Server 2005 and Visual Studio 2008, and I was blown away by his level of productivity. I mainly develop servers and sometimes Windows Forms applications. I only do a ASP.Net project every once in a while. So, when one comes up, there's usually a little bit of ram...