Solved

Debug COM exposed object inside Visual Studio .Net

Posted on 2008-10-04
3
288 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

910 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

16 Experts available now in Live!

Get 1:1 Help Now