iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Visual Basic Support > Generating a Message |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
It's easy to create a message and populate it with data in Chameleon. First you must create an instance of the message object. To do this, you must use a generated method on the Engine object associated with the message object of the form New<Message Name>. This code fragment illustrates the technique:
The tables in the message are then populated by using the Add method to add rows to each of the tables and table groups in the message. The following code fragment shows an example of populating a message in Visual Basic:
|