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

How do you make an Active X object from a VB.net class?

I am trying to make a VB class an Active X object.  Any idea on how this is done?

0
Tygh
Asked:
Tygh
  • 2
1 Solution
 
bob_onlineCommented:
Start a NEW project selecting activeX Control as the type of project.  Then add your existing class module to it.
0
 
Arthur_WoodCommented:
with VB.NET, it is NOT possible to create COM-compatable User Controls.

AW
0
 
Arthur_WoodCommented:
on the other hand, if you want to access a VB.NET derived object (based on a VB.NET class), in a VB 6 program, then you can use COM-Interoperability.  This will create a COM wrapper around the VB.NET class, to make it behave as a COM/ActiveX object.

AW

0
 
TyghAuthor Commented:
do you mean an class library or a windows control library.  I can find the activex control type.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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