EmbeddedRelated.com
Forums

how do you read the contents of the CTS signal on VB6?

Started by electro April 4, 2006
whats the simplest way(VB6 code) to read the contents or status of
rs232 input signal CTS?

you can try usin sax, activex control or you can get a few examples
(most of which might be unstables) from source sites

"electro" <electromagnetic377@yahoo.com> wrote in message
news:1144128313.899375.103440@e56g2000cwe.googlegroups.com...
> whats the simplest way(VB6 code) to read the contents or status of > rs232 input signal CTS?
By calling the standard Windows API function GetCommModemStatus. Meindert
electro ha scritto:
> whats the simplest way(VB6 code) to read the contents or status of > rs232 input signal CTS? >
the MSCOMM ocx component: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comm98/html/vbproCTSHold_Comm.asp
"harshad" <tccd22@gmail.com> wrote in message
news:1144130094.851114.326610@z34g2000cwc.googlegroups.com...
> you can try usin sax, activex control or you can get a few examples > (most of which might be unstables) from source sites
An activeX control???? How hard is it in VB to call one single API function and evaluate one of the 4 bits returned in a word..... Meindert