Dear All,

I want to read the data available at COM1 port of PC operating in win98/winxp O.S.. The data relates to the weigh bridge used to measure weight of empty and loaded tankers. The maximum digits to be read are 5 i,e data in Kg. weight shall not be more than 99,999 kgs. The data is transferred through a measurematic to the COM1 port of PC. Though the data is shown by the windows hyperterm command I am unable to read it dynamically in the program.

The settings are:

bits/sec - 1200
data bits - 8
stop bits - 1
parity - none
flow control - hardware

the data should be read dynamically i.e if the weight of tankers fluctuates then the read data should also fluctuate till a key or program icon is pressed.

can some body help provide the code in VB6.

Thanks in advance