Solved

Debug COM exposed object inside Visual Studio .Net

Posted on 2008-10-04
3
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

738 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