-
hi, i'm connecting my PC to a projector, using the MSComm to send and receive data. How do I know if my data is successfully being send fr PC to projector? I tried sending :
MSComm1.output = chr(&H31) & chr(&H24) & chr(&H01)
then the projector is supppose to reply, but how do i get the reply? the reply is in what format? how should i write the code for the reply? my data is in hexadecimal form.
thanx very much!
-
the control has an event called ONCOMM.
Use something like this inside the event:
MyString = MSCOMM1.Input
'now mystring contains the reply from the projector.
All you have to do is look at the tools you are working with. :)
-
help..cont...
i tried that :
MsgBox MSComm1.Input
the msgbox pops up but show nothing. does that means the projector did't reply? how to check if projector reply, other then using MSComm1.InBUffetCount?
is there any other way?