visual-studio

Add YAAF to the Microsoft Visual C++ search directories

Hi , I am completely new to working on MS Visual Studio. I am trying to install new framework where in the installation guide tells me "Add YAAF to the Microsoft Visual C++ search directories" YAAF i suppose is the directory over here that i have got. But does not mention how do i do it. Could anybody please help? ...

Add YAAF to the Microsoft Visual C++ search directories

Hi , I am completely new to working on MS Visual Studio. I am trying to install new framework where in the installation guide tells me "Add YAAF to the Microsoft Visual C++ search directories" But does not mention how do i do it. Could anybody please help? ...

.Net Exception detail

Hi; How can one get detailed Exception thrown by the .net framework. The below log fragment shows something is wrong but what? A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll Unfortunately I can not catch this exception so I can not debug. Is there a way to get a detailed information about s...

Is it OK to have a single configuration, rather than separating Debug and Release (in our case)?

We develop a product for internal customers. We don't have a QA team, and don't use assertions. Performance is important, application size isn't. Is it a good idea to have a single configuration (instead of separating Debug and Release), which will have the debug information (pdbs), and will also do the performance optimization? Are th...

Slider working along with treeview default highlight

Hi all, I have a treeviews which look like this: 2. Header << Play Video (a) [Duration 0:00 to 0:09] and (b) [Duration 0:10 to 0:44] on click a) sub header 1 << Play Video (a) only on click b) sub header 2 << Play Video (b) only on click 3. Header << Play Video (a) [Duration 0:00 to 0:20] and...

DateTime Conversion Regex C#

I've inherited a codebase littered with DateTime objects created like this: DateTime d = Convert.ToDateTime("2008-02-05"); which are failing when tests are ran on NY servers due to the culture of the string. I wish to convert them to the more sensible format: DateTime d = new DateTime(2008,02,05); I've written a VS macro that conve...

Visual Studio 2008: How to change programming layout after setting it at the first execution?

Hello. When starting Visual Studio 2008 you are asked to choose a programming layout (preset?), which can be C++ or C# (or generic?). Few months ago I choose the C++ preset because I was working on a C++ project, while now I'm working to a C# project. Is there a way to reset the Visual Studio layout to C#? Thank you Tommaso ...

Debug a Windows Mobile 5 Application on a Physical Device

Hi, I'm trying to debug and test my application with a Dell Windows Mobile device using Visual Studio 2008. I can connect to the device and deploy it on to the device using ActiveSync. The problem I'm having now is that when debugging, after the project is deployed on to the device, the breakpoints are never hit and the application just ...

How to close an "orphaned" console window that was opened from within visual studio?

When working on console applications in Visual Studio, I will run the application by pressing F5 to bring it into debug mode. Occasionally (and I'm not sure how this happens), I'll get back into "edit mode" in Visual Studio and the debugged console window will still be open. It will remain open but entirely unresponsive. I can't clo...

C# Visual Studio solution in one dll.

I have a Visual Studio solution, and this solution contains a few projects. Can I build all the projects from this solution into one dll? ...

Building C++ CLR app for Platform Toolset v90 in VS2010 requires Visual Studio 2008

I've got a shiny new laptop with the latest Dev tools installed such as Visual Studio 2010. Now I've got a task to build a C++ CLR app targeting the 2.0 runtime (this is well outside my comfort zone). So I've specifed the v90 Platform Toolset but when I build I get:- error MSB8010: Specified platform toolset (v90) requires Visual S...

Stop VC++ from pointing at errors in files outside my project?

Is there any way to make VC++ 2010 trace errors back to the last line that was called INSIDE my project? I don't know why they did it, but its completely useless when VC++ tells me that the error is inside one of the standard classes rather than which line in my project actually led to that error. ...

Visual studio 2008 MS Reportviewer multi column report

I have a thumbnail staff photo report in 4 columns (grouped by branch) - when I do a preview it will not do a page break only column break. I have goggled and tried all the possible solutions but still can’t get it to work. Any help would be appreciated. ...

Display PNG on Visual Studio form

I'm working on a C++ application in Visual Studio (non-MFC) and was surprised to find that I can't add a PNG image to a dialog in the designer which seems a little backward as I can in most other IDEs that I've used. So either a) there is something I'm missing or b) there is a way to do it with code. I'm hoping that it's a but b would be...

Visual Studio 2008: How do I include project output as an embedded resource in another project?

I have two projects in one Visual Studio 2008 solution. I'd like to use the primary output from one of the projects as an embedded resource in the other, but for the life of me I can't find any way to accomplish this. If I simply add the output file as a resource, then it doesn't seem to change when its source project is rebuilt. I even...

Class modifier for automatically generated classes

When I add a new class to a project, the class modifier/access specifier for the newly created class in Visual Studio is ommitted, thereby making it internal. Is there a way I can specify in Visual Studio settings that whenever I ask for a new class to be created, please make the class public? I looked in the Tools->Options menu but co...

Creating a C++ COM client for C# COM server

I have a C# ComServerProject that implements an out-of-proc COM server, and I've selected the option "Make assembly COM-visible" on server project's "Assembly Information" dialog. In the same solution I have a C++ ComClientProject that should use the COM interface defined in ComServerProject. However, I don't know how to actually use th...

How to make a .net web application run as the root application in Visual Studio

I've been converting some .net "Web Sites" to "Web Applications". This has been going along smoothly. One of the steps that I perform each time I do a conversion is I go to the web section of the project properties and set the virtual directory. So far, I've set up -http://localhost/site1 -http://localhost/site2 -http://localhost/site...

visual studio 2010 with c# like namespaces in vb

Is it possible to have visual studio 2010 automatically add namespaces to classes within folders just like c#? ...

Debugging across projects in VS2008?

We have a DLL which provides the data layer for several of our projects. Typically when debugging or adding a new feature to this library, I could run one of the projects and Step Into the function call and continue debugging code in the DLL project. For some reason, that is no longer working since we switched to Visual Studio 2008... ...