OCX files using VB.NET

Abaillie

Newcomer
Joined
May 19, 2003
Messages
12
In VB 6 user controls could be compiled as OCX files. I need to create a VB.NET ocx but it seems to compile it as a DLL.

Can anyone help?
 
You cannot create ActiveX controls with vb.net. You can create windows forms control libraries, and they will always compile to dll files.

With a lot of work you can get a windows forms control exposed as an ActiveX control, but I don't know of anyone getting one to work property on a VB6 form.
 
Back
Top