Creating an ActiveX DLL with Visual Basic
The first step to create our GUI is to open a new Visual Basic project. When asked for the type of project, select the ActiveX DLL option. Change the name of your project to f90VBGUI. The new project will have a single class named Class1. Change the name of this class to CError and make sure the instancing property of the class is set to MultiUse. This is the class we’ll be building in the next section.
Creating the CError ActiveX component