TEC-IT TConnector 2.2 ActiveX


ListenMode.htm - Sample code for VBscript within MSIE (5+) client side

This sample demonstrates the Async Mode (ListenMode) and the Events of TConnector.

First register TConnector V2.2 ActiveX within the Windows Environment. This is usually performed during the setup of TConnector, but can be also done manually by using the REGSVR32 utility. For this, enter "regsvr32 TConnector2.dll" at command prompt. Ask our support, if you have questions or encounter problems.

Follow these steps:

1.  (for our sample we prefer to use a COM port)

2.

3.  (now events will be fired)

Now waiting for data on the specified port...

OnData Event (and Status Info) OnStatusChange Event

4.

5.


The following properties of TConnector has been changed (regarding the default settings):