473,382 Members | 1,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to debug component written in VS2003 in a VS2005 application

I have a component that was developed in VS2003 that I need to debug in a
VS2005 application.

Basic steps are:

Build the component for Debug in VS2003.
Set the following VS2003 project properties for the component:
Project Configuration Properties Debugging Debug Mode = Program
Project Configuration Properties Debugging Start Application = <path
to application built in VS2005>

When I select Menu Debug Start, I get the following message:

Error while trying to run project: Unable to start debugging
Unable to start program 'c:\<path to application built in VS2005>'

Same setup works fine if a VS2003 application is specified for Start
Application.

Any ideas?
Mar 14 '08 #1
5 1618
I need to set breakpoints in the VS2003 component, not the VS2005 application.

Mar 14 '08 #2
That's what I'm doing, but it's clunky.

If I hit a breakpoint and find that i need to make a change in the
component, you need to switch over to VS2003, make change, rebuild, then
rebuild VS2005 project and run.

Why does VS2003 care what type of application it is being told to run?

In VC++ 6 you can run any type of app from the debugger.
Mar 15 '08 #3
Ok, so the answer is that I need to switch back and forth between compilers,
correct?

I guess I'm spoiled. Since I can launch a VS2003 or VS2005 app from VC++ 6.0
to debug an ActiveX Control in a .NET application, I expected the same from
VS.NET.

Thanks for the info.
Mar 15 '08 #4
Additionally, I am not sure if I have understood you completely. Since you
have the VS2005 tool, why can't you just re-build your VS.net2003 component
in VS2005 compiler and IDE? .Net2.0 has good forward compatibility of
..Net1.1, so your VS.net2003 component shoud run without any problem after
compiling under VS2005.

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
Mar 17 '08 #5
Hi,

Have you reviewed my last replies to you? Does it make sense to you? If you
need any help or have any concern, please feel free to tell me, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 19 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Brad | last post by:
When debugging my current web project, in VS2003, I found I had lost the ability to drill down on watch objects in the Watch Window; I could only view the single value specific watch objects. ...
9
by: andy lim | last post by:
hello all, i developed several ASP.NET web application with VS2003. i'm preparing myself to take an exam on the path to MCAD.NET. then, the VS2005/.NET framework 2.0 (beta) came in to my hand....
3
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or...
3
by: ABC | last post by:
How to debug client-side script (javascript) from VS2003 or VS2005?
17
by: Samuel | last post by:
Hi All, I am in the process of converting a VS 2003 project to VS 2005 project (VB.NET Class Library). It gives the error in TypeOf and DirectCast statements. It was working...
4
by: Craig | last post by:
Hi All, Not too long ago, I posted a question about any known issues of a VS2005 application calling a VS2003 web service. We narrowed it down to an issue with VS2005. If our customer runs...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
4
by: Tony Girgenti | last post by:
Hello. I developed a VS.NET2003(VB), ASP.NET web application client program with ..NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0. I tried to migrate it to VS 2005 Pro(VB), Web...
1
by: jdwix | last post by:
I have been developing in VB6 for several years and have become accustomed to loading whatever VB projects I need to debug into a group and having the ability to step through the code and make...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.