• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Debug COM exposed object inside Visual Studio .Net

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
CyrexCore2k
Asked:
CyrexCore2k
  • 2
1 Solution
 
Leo EikelmanDirector, IT and Business DevelopmentCommented:
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
 
CyrexCore2kAuthor Commented:
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
 
CyrexCore2kAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now