hello all, i am facing some problem with com port, since i am new to vb6. the oncom event is not working corectly
10x for help
Printable View
hello all, i am facing some problem with com port, since i am new to vb6. the oncom event is not working corectly
10x for help
Welcome to the Forums.
Did you set up the mscomm control with the proper settings? What settings are you using?
i am using vb6, i set every thing ok. when i read the input buffer using mscomm1.input base on a click it works, but i need to know when a communication occured to read it
Are you using the OnComm event?
VB Code:
Private Sub MSComm1_OnComm() End Sub
yes. when this event occure ?
Anytime a character is sent or received. Basically whenever the buffer changes.
i don't think so, what i have to do with input buffer length and output buffer length
Why dont you post your code as it sounds like you may be missing some settings or something.
You need to activate the RTSEnable property and set the Receive and\or Transfer Threshold to the lenght you want to.