Link to home
Start Free TrialLog in
Avatar of BofADev
BofADev

asked on

.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.

ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BofADev
BofADev

ASKER

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?
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