Sample Visual Basic extension DLL

The sample Visual Basic extension DLL can be found in the examples\vb6 subdirectory. It is a Visual Basic 6 project, and serves as reference material for users who wish to write their own extension DLL using Visual Basic 6.

To compile, load softcopyex.vbp with Visual Basic 6 and build the project. The final output is an ActiveX DLL called softcopyex.dll in the same folder.

Launch the GUI configuration tool. Select "ActiveX DLL" as the DLL type, and enter "softcopyex.main" as the class name.

Then click the "Register" button and select softcopyex.dll in the output folder. You should get a message telling you that the ActiveX DLL has been successfully registered. Finally, click the "Update" button to complete the installation.

Related topics