Herewith simple sample to write serial code on microsoft visual basic net 2005. the serial write on a class, sercomm.vb. this sample code, based on my old test app which write on VB 6.0.
serial port routine i put on a class. there some problem when firt time, the error "thread call safe!", always raise, every message on serial port try to show on text box on form. to avoid this i use delegate methode.
serial port routine i put on a class. there some problem when firt time, the error "thread call safe!", always raise, every message on serial port try to show on text box on form. to avoid this i use delegate methode.
Complete sample code can be download at here .

0 komentar:
Post a Comment