Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • 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 EikelmanCommented:
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

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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