visual-studio-2008

Visual Studio 2008, how to jump back out of a catch?

I am using the debugger (vs2008). Once I've stepped into a catch statement, I would like to know if there is any way to set the execution cursor back to the beginning of the try. Just dragging it there doesn't seem to work, is there some setting I need to change? Example: Try //Want the cursor back here { } Catch { some code // c...

How to include and where to find pthread.h for Visual Studio?

How to include and where to find pthread.h for Visual Studio 2008? ...

Linking MTL (Matrix Template Library) in Visual Studio

I have MTL header files; I want to use those header files in Visual Studio 2008. How can I link those header files so that I can write a matrix program using the MTL library? ...

Compiling CUDA examples gives build error

I am running Windows 7 64bit, with Visual Studio 2008. I installed the CUDA driver's and SDK. The SDK comes with quite a few examples including compiled executable and source code. The compiled executable's run wonderfully. When I open the vc90 solution's and go to build in Win32 configuration I get this error: Error 1 fatal error...

Making sense out on .MSI verbose trace - running a CustomAction

Making sense out of an .MSI verbose trace. I created the .MSI using VisualStudio 2008. Here's the background on what I'm trying to do: http://xmlpreprocess.codeplex.com/Thread/View.aspx?ThreadId=79454 The goal is to run a program called XmlPreprocess.exe similar to this: xmlpreprocess.exe /x:"SettingsFileGenerator.xml" /i:"web.config"...

Format Javascript in Visual Studio 2008?

Is there a way or a VS add-on to format Javascript in the text editor? Like properly indent each line, align the braces, ... etc? ...

Deprecated functions not spotted if using "System::Threading::ThreadState" (and others!) C++ VS2005/2008

Hi, I'm facing an issue with c++ on vs2005 and also vs2008... here's how you can reproduce the issue.... create a new (c++) project called 'test' (file|new|project) select "Windows Forms Application" and add the 'stdio.h' include and the code fragment below into the test.cpp source file..... -------------------start of snippet-------...

AJAX vs. Server-Side Execution with C# ASP.NET

In my previous web development experience I have used LAMP setups. I am trying to learn the Microsoft way as I develop a project using the following tools: ASP.NET 3.5 C# MS Visual Studio 2008 Here is my question: How can I tell when code gets executed on the server versus code that is exectued as javascript? I have added AJAX fun...

OOLua compile errors

Code #include <OOLua/oolua.h> class foo { public: int bar(); }; OOLUA_CLASS_NO_BASES(foo)//class has no bases OOLUA_NO_TYPEDEFS OOLUA_MEM_FUN_0(int,bar) OOLUA_CLASS_END Compiler output main.cpp(21) : error C2061: syntax error : identifier 'bar' main.cpp(22) : error C2143: syntax error : missing ';' before '}' main.cpp(22) ...

Date/time query from Access table ( last month)

Hello, I am using the query builder from Visual Studio 2008 to extract data from an Access mdb ( 2003), but I can't make it to work with a datetime field. When I run it with a third party query app I have works fine, but when I try to implement it into visual studio I can't do it. What is the correct way to extract last month data? ...

Using castle project on VS 2008

I've read alot about the Castle Project and decided to start using it, primarilly ActiveRecord. But how to get started? There's an msi that installs an old release on VS 2005. Nothing happens on my VS 2008. There's also a bunch of project specific zips available for downloading indivudually. They contain files: dlls and xmls mostly. Li...

how to catch devenv exception

Hello, How can I catch an error in devenv? If an error occures (the build fails..) I need to print it out. How can I do that? Thanks! ...

Is there a variable I could use to identify the project directory at the command line options in the project properties in Visual Studio 2008?

In Visual Studio 2008 when you go to properties of a project (an ASP.NET MVC one at least) you have the option to run an external program. There are three parts for it: the path to the program, the command line options, the working directory. I need to pass the root of my web application as a command line argument. I don't want to hardc...

Problem with attaching a process in VS 2008

Hi guys, I am not sure what the issue is as I am new to this issue, but I'll describe the problem best I can. I have reportwriter dll written in VB6. I use this reportwriter in a web app (my main app). At the moment, I am building the reportwriter project into a dll into the a folder in my main app's solution. I have been told VB6 aut...

Undesired Checkout Resources pop up in CCRC integrated with VS2008

Hi, I have clearcase integrated with Visual Studio 2008. Everytime, I open a solution, I get Checkout Resources pop ups for the solution file and the project files within. I have to click on 'Cancel' several times before my solution is loaded. Also when I build the project, I get the checkout resources pop up. This is really annoyin...

Visual Studio 2008 & Windows 7 Recent Files

Apologies for the non-programming question, but does anyone know how to get Visual Studio 2008 to list projects in the Windows 7 Recent Files list instead of the source files it lists by default? ...

Problem with WINDOWS debug symbol loading. I could not load WINDOWS operating system binaries .pdb in visual studio.

I am working in a software company on a system software product. Day before yesterday that product got crashed and core shown. To findout exact problem, I want to know full core stack with function names(kernel32.dll, ntdll.dll .. not showing function names). I have downloaded WINDOWS debug symbols from Microsoft site. http://www.micro...

How to switch off the Procedure Seperator in VB.Net VS2008?

Apologies for the dumb question but it's driving me insane. How to switch off the annoying (to me anyway) horizontal line that seperates procedures in Vb? I've setup a new Dev machine for myself and for the life of me I can't figure out how to switch it off in VS2008. My mind is obviously failing with age, I know I did it on the old ma...

ASP.NET code formatting tool

Hi, Is there any tool for Visual Studio 2008 which can reformat ASPX code to make it more presentable (eg insert line breaks, format the lines so they wrap when necessary, etc)? Thanks ...

VS2008 - Can't remove project configuration

I have a Windows Mobile/Pocket PC project in Visual Studio 2008 SP1. I have tried to remove an old build configuration "ReleaseCN3" from the solution using the Configuration Manager. I run the Configuration Manager, click on Edit, then highlight the "ReleaseCN3" configuration and click Remove. The configuration is removed from the lis...