visual-studio-2005

Why do I need to compile DateTime in boost if I am not using to_string or from_string?

When compiling a Visual Studio 2005 project that references a mix of c++ managed/unmanaged code, I get the following error: 1>LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc80-mt-1_42.lib' I have followed the "Getting Started Guide" at http://www.boost.org/doc/libs/1_42_0/more/getting_started/windows.html. Of relev...

Find previous debug line in Visual studio 2005

Hi, I'm trying to debug a C++ project in VS 2005. In debug mode how can i find the previous line that got executed.? i.e Consider the control is in line 5000. How can i find the previous line which got executed before coming to line 5000. Actually there are few goto statements involved. Call stack is just displaying the previous funct...

Modifying Crystal Reports v1.0.38 Forms

You read that correctly, CR v1.0.38. We have an archaic piece of coldfusion software that uses reports created in CR v1.0.38. Some of these reports need minor adjustments, so I open it using Visual Studio make the adjustments. When I go to save it I'm prompted with a warning about only being able to save it as a newer version. When I...

Visual Studio forcing Project to be rebuilt every time.

I have a solution with Many dlls and two exe's. The exes are Dependant on the dlls when I make an internal change to any of the dlls one of my exes rebuilds and generates all its code every time. My assumption would be that it would only need to relink if no source file it depended on had changed. Could there be a setting I am missing...

Visual Studio 2005 and Tinyxml - xml file location

For some reason my Tinyxml file which is created via visual studio 2005 (c++) is saved on my desktop instead of the debug folder or in the program's root folder. if anyone knows about some way to tell vs2005 to save the tinyxml create file somewhere else? I tried that with eclipse and it saved the file in the program's root folder, whi...

How to get List view like Vista/Windows7

Using: Visual Studio 2005, .net 2.0 Can we get the features of list view as seen in Vista/Window7 OS (file/folders details view): When mouse is over a row its highlighted. Problem: if i set HotTracking = true, the items are shown underlined, also mouse cursor changed. Dragging select multiple items. Problem: [Multiple Select = true, ...

Why can't I see a DataGridView's properties?

Hi, I can't see DataGridView Properties in my C# program in Visual studio 2005. I can see the DataGridView on the Form - but can't see its Properties. Why ? Thanks in advance ...

Can VS 2005 build C# for .NET 4?

I am aware that you can probably build a lower version of .NET, but is it possible for me to build a project against the .NET framework version 4? ...

VSS 2005 and VS 2005

I use VS 2005 and VSS 2005. Every time I close VS I get error: ss.ini not found. But except this VSS works fine, no problems when I open VS and do check in and check out. ss.ini is present and VSS repository specified as network path. I just worry that I can have problems later. ...

Is there a VisualStudio project template for native C++ Win32 services?

I know there is one for .NET based services, even one for managed C++, but I don't see one for native unmanaged C++ Win32 services. Anyone know of any 3rd party templates? ...

Console windows that cannot be killed by closing or via Task Manager

When I run a test harness through the Visual Studio 2005 debugger, it creates a console window every time I run it. In the past, the console window would close automatically when the test harness process terminated, but now I'm finding that the console window is hanging around afterwards. After the test harness terminates: I cannot c...

How to get an event on file save

I am planning to integrate NArrange in my visual studio solution,i want to run this exe whenever a file is saved,Is there a way to receive event when file gets saved? I have heard about macro but do not have much information on that. ...

How to programmatically change a Crystal Reports formula from Crystal Syntax to Basic Syntax - in Visual Studio 2005

I want to programmatically change formulas in a whole lot of reports, like in this question, but I also need to change the formula between Crystal Syntax and Basic Syntax. I can't see any way to do this in the object model. Is it possible? i.e. I have a formula called 'Period' that already exists in a whole lot of reports, and it's curr...

How do I open the ASPNETDB.MDF database?

I am using vusiaul studio 2005. I have been unable to use the express database. I can create it, by simply tryign to log in. But if I try to open the ASPNETDB.MDF database itself I get the following error: "This server version is not supported. You must have Microsoft SQL Server 2005 Beta 2 or later." I have SQL 2005 loaded on my mach...

Visual Studio 2005 Design Time: What is happening, exactly?

I'm interested in getting a definitive answer on what exactly is going on when Visual Studio 2005 loads a form or user control in the IDE's designer (aka "Design Mode"). Ideally, looking for a simple, step-by-step explanation of what Visual Studio is doing to render the form/controls. I understand at some point each control's construct...

AJAX JavaScript issue, but only in IIS

When I ran the program under visual studio 2005, everything works perfectly fine. Is this an IIS issue or AJAX. ...

Visual studio compiler flag /arch and performance

I just noticed that in our project have left the "Enable Enhanced Instruction Set" flag left unset, probably just an oversight. Before enabling the flag I would like to ask if anyone have seen any real-world performance improvements enabling it ? I guess we will see some improvement our application constantly do floating point based c...

std string problem with libcurl - c++

I'm pretty new to c++ and I'm using libcurl to make an http request and get back a string with the respond's content. size_t write_to_string(void *ptr, size_t size, size_t count, void *stream) { ((std::string*)stream)->append((char*)ptr, 0, size*count); return size*count; } int main(void) { CURL *curl; CURLcode res; ...

Pointer incrementing query

I have been looking at this piece of code, and it is not doing what I expect. I have 3 globals. int x, y, *pointer, z; Inside of main I declare them. x = 10; y = 25; pointer = &x; now at this point &x is 0x004A144 &y is 0x004A138 pointer is pointing to 0x004A144 Now when I increment: y = *++pointer; it points to 0x004...

Copy Directory - Post Build Event

hi everyone i wanted to ask how do i copy some directory from one place to another (not file by file) in post build event (whats the comman line??). im using vs 2005 (c++ project) thanks, liran ...