Solved

Debug COM exposed object inside Visual Studio .Net

Posted on 2008-10-04
3
286 Views
Last Modified: 2013-11-25
Visual Basic 6.0 allows me to execute a class project and it will temporarily register the COM object so I can call it from ASP or whatnot using the Server.CreateObject call. This was really helpful since it allowed me to step through the VB 6.0 code of the COM object instead of compiling and deploying it each time.

Unfortunately I can't figure out how to do the same thing in Visual Studio .Net. When I try executing the class project it tells me I need an executable to run it. Anyone know how I can do this?
0
Comment
Question by:CyrexCore2k
  • 2
3 Comments
 
LVL 8

Expert Comment

by:Leo Eikelman
ID: 22647079
Right click on the project node->Add reference-> COM tab -> Browse and select the file

This will create a wrapper for your COM to be able to call your component

Thanks.
0
 
LVL 14

Author Comment

by:CyrexCore2k
ID: 22647672
Ah, that's not really what I'm asking.

I have some .Net classes that I have exposed as COM objects and I was wondering how to debug them as they were created.
0
 
LVL 14

Accepted Solution

by:
CyrexCore2k earned 0 total points
ID: 22670978
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now