.NET Class to Com Object Conversion

Hi,

First and most important I've wrote a .net class and I'm need to know how I can convert this to a com object that can be used in vb6.

Secondly as a bonus, This is for a project I'm working on in which I would like to draw the control on a form.  Also, this is probably a different question but is there a way to have multiple forms in the class.  I'm wanting a 2nd form to appear when a user clicks on a button in the com object that I'll draw on the vb6 form.  If so will this form appear inside the space that I've drawn the control or is it possible to have it create a form that isn't bound to that location and can be moved freely.

BofADevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Calling .NET From COM:
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=113

This is a C# article, but the concepts are very similar, and provides a good set of steps.

Bob

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BofADevAuthor Commented:
Thanks Bob I found this article too in a past EE question.  What about the multiple forms in a class?  Is that possible or just one user control per class?
Bob LearnedCommented:
Anything in the DLL should be accessible as long as the ComVisible attribute is true (which it is by default), and has a valid GUID assigned.

Bob
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.