visual-studio-2005

Debugger ignores errors in dynamically loaded DLLs

Hello. I have a very strange problem related to debugging of self-coded DLLs. I have an MFC-driven dialog-based application, several projects linked statically and several DLL-projects which are loaded at runtime. I build solution in debug, run the application and I can easily debug those DLL-projects. Now the problem. If there is some...

Visual Studio 2005 Basic Knowledge - How doing debugging on C# codes

My knowledge is very limited on VS in fact it's the first time I am using it and very little I know of C debugging too. I have pre-existing .c and .o files that have been transferred into my folder and I open VS to edit them. I then compile on a unix windows with the icl command. What I get is obviously error messages because those fil...

VC++2005: Automating the build for 32 AND 64 Bit

Hi, I'm using MS Visual C++ and have to deliver a 32 and 64 bit version of the same project in one installer. That's error-prone of course, I might forget to update one, so I want to automate the build process. But the "dependencies" work only between different projects. Is there a way to have one build trigger (e.g. of the 32 bit vers...

OpenGL suppresses exceptions in MFC dialog-based application

Hello. I have an MFC-driven dialog-based application created with MSVS2005. Here is my problem step by step. I have button on my dialog and corresponding click-handler with code like this: int* i = 0; *i = 3; I'm running debug version of program and when I click on the button, Visual Studio catches focus and alerts "Access violation ...

Crystal Reports: Is there a way to get effectively a subreport within a subreport?

UPDATE: I asked a more general question here: http://stackoverflow.com/questions/2166963/can-i-do-two-levels-of-linking-in-crystal-reports I'm using Crystal Reports within VB.NET and Visual Studio 2005. I have a report with several subreports. I'm setting List(Of MainStuff) as the data sources for the main report. I'm setting List(O...

Can I do two levels of linking in Crystal Reports?

Let's say I have three lists: Departments, Divisions, and Groups. A Department is made up of Divisions, which in turn is made up of Groups. The Divisions have the Department ID as a foreign key. The Groups have the Division ID as a foreign key. I'd like to produce a report that looks like this: Department 1 Division 1A ...

Can you create a link to open a User Control in a VB.Net form to use at Design time?

I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just...

Grouping of break points

I am working on a C# windows based project in visual studio 2005.I often debug different features in this huge project.Now the problem is i have made few break points in few places which i require only when i debug for that feature.i want other break points to be disabled then.I understand this might not be a use case for larger communit...

SQL installer in .net SetUp project

I have an winform application which uses SQL 2005 as database.Client wants single installer where all the setups should install including SQL 2005. How do i implement SQLEXPR32.exe in my setup project so when application is installed SQL server 2005 also install. Can i make this SQLEXPR32.exe as custom actions ? I know this question is a...

Windows CE emulator on visual studio

I've installed visual studio 2005 and windows embedded c.e. 6.0. How do I create a simple hello world program in visual studio and then port it to a Win C.E. emulator and run the same there. ...

Import Qt resources when are main.cpp and GUI classes in dependend static lib project,

Scenario: I have MSVC2005 with the Qt Visual Studio AddIn installed. In my solution there is a project A consisting of multiple plain C++ code modules, which is built to an executable A.exe. Project A does not contain a .cpp file with a main(), but has a dependency on a project B. B is a Qt project built as a static lib. It consists o...

Bundle ActivSync 4.5 With Visual Studio 2005 Setup Project

How do you bundle ActivSync with your C#.NET application? I have an installer and it works fine for the SQL Server 2005 Express and .NET 2.0 Framework when I selected them as prerequisites. I'd also like to setup ActivSync as a pre-requisite as well. ...

Evaluating expressions using Visual Studio 2005 SDK rather than automation's Debugger::GetExpression.

I'm looking into writing an addin (or package, if necessary) for Visual Studio 2005 that needs watch window type functionality -- evaluation of expressions and examination of the types. The automation facilities provide Debugger::GetExpression, which is useful enough, but the information provided is a bit crude. From looking through the...

Paged Custom ComboBox

I would like to have some sample code on how to do a paginated ComboBox. My data consist on 1300+ items. When the user clicks the combo box arrow, the combobox will display display 25 (page size configurable) items at the time with arrows up/down (depending on page location) so that the user can request the previous/next page. The data i...

PLug in to find null initializers

I recently found out that having null initializer for objects are an overhead from http://www.codinghorror.com/blog/archives/000343.html I have a huge C# codebase where in lots of such initializations are made,i want to know if there is any free plug in to help me replace it.I tried to search on net but no free plug ins:( ...

Manually Add a Resource File (Visual Studio)

I have a solution in VB.NET (VS 2005) In this solution I have a custom control, that inherits from a abstract class. Now, as VS is VS, it doesn't want to display the control in designer, because its parent is abstract. Now, I want to add a picturebox with an image (bmp or ico) to this control. Normally I've done this opening the desi...

Create a Icon from a Resources.resx

I have a Icon(.ico file) in the (VB.NET)MyProject>Resources.resx file. How do I extract it in run-time as a Icon object? Thanks ...

WSE 3.0 Settings Menu Missing from VS2005

I'm simply trying to get the WSE 3.0 Settings menu to show up when I right click a newly-created ASP.NET Web Service Application in Visual Studio 2005. I found 1 solution about including the Add-In, but that file already exists, and when I check Tools -> Add-in Manager, I already see "WSE Settings 3.0..." with all checkboxes checked. I...

StaticCRT(LIBCMT(D)) and DynamicCRT(MSVCRT(D)) conflict

I am developing a project which uses third party dlls and libraries. I want to build my project using static CRT (LIBCMTD) as I wish to run my application in "IBM purifier". However, the third party libraries are built using dynamic CRT(MSVCRT). This gives linking error as: MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __mktime64 already ...

Running an application on an os designed and created in Visual Studio

I have built an os design (and its bsp) in Visual Studio. I need to know how to get started with writing applications for the os by writing a simple application that will run in the os created (probably in an emulator, I still don't have the Evaluation module for the device). I have Visual Studio 2005 and Windows embedded C.E. 6.0 instal...