
3-32 Extension Reaction Kinetics
3-32
3. Make sure that the HYSYS 3.* Type Library checkbox is
selected in the References property view, which is accessed
by selecting the References command from the Project
menu.
4. In the Properties tiled property view, ensure that the
Instancing drop-down list is set to 5-MultiUse.
5. In the Properties tiled property view, rename the class
module VinylAc.
6. Save the class and project by selecting Save Project
command from the File menu. Save the class and project as
VinylAc.cls and VinylAc.vbp
7. You are now ready to define the class. Begin by defining the
global variables in the Project VinylAc Code property view:
Figure 3.7
Code Explanation
Option Explicit
Used to force explicit declaration of
all variables in that module.
Dim hyContainer As Object
Dim hyBulkDens As Object
Declare the global HYSYS objects.
The hy prefix is a convention to
identify variables which come from
HYSYS.
Properties property view
Komentáře k této Příručce