The COM control provides you with another option for invoking Chameleon
from Visual Basic. In this case, you will need to modify the code of your
Visual Basic form in the following manner:
Dim WithEvents Engine As HL7Engine
The Stubcode Generation Wizard will generate the control for you automatically the
first time. If you ever need to create a project from scratch
that supports these controls, you will need to go to the
References Window from the menu options by clicking Project > References
in Visual Basic:
References Window
The reference you need to include will be called <prefix>Parser,
which is implemented in the file called <prefix>Parser.dll. This will be located in a directory called ./<prefix>, just below the location of your message definition file.