devxlogo

Preparing an ActiveX Control to be Used in VJ++

Preparing an ActiveX Control to be Used in VJ++

A Java application accesses an ActiveX control via a set of .CLASS files. Preparing a control for use with VJ++ is a two-step process. First, you register the control using Regsvr32.exe, which ships with VJ++. Regsvr32 takes one argument?the DLL or control to register?and any of several command-line switches, the most notable of which is /u to uninstall a control.

Second, Once you’ve registered a control, it will appear in the JavaTLB(Java Type Library Wizard) tool. To run the JavaTLB, choose Tools | Java Type Library Wizard from the Visual J++ main menu.

You can now manually generate the registered tool’s required classes and package its files for use with Visual J++ using Java Type Library Wizard.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist