>Hello everybody.
>I am trying to use the MSCOMM32 control to connect to
>a service. I am suppose to connect, wait for an
>"Send ID now." and send what I need, I made a function
>to do that,it works fine, but when I call then function from within
>the application it never works.
>The problem is that I am working in the darkness, because
>I don't know how to read the "Send ID now" after I connect.
>I try to use the "Input" property of the control and all it
>shows is modem status like "CONNECT 1200,8,N,1", or whatever
>I put in the "output" property, like "ATDT 555-1212".
>
>What I am missing ?
>=THIS.thanks("in advance")
Luis,
The RS232 control has different modes to read data from the comm port. You can read a number of characters at a time, or the full buffer(better check that no data has been set for a certain length of time). Also, You need to know the issues (bugs) in woring with the control (ie, buffer size more than 2K, and parity replace character issues). Make sure you have the help file with all the info on MSCOMM32.OCX. It shipped with VFP 3.0, but not 5.0. Let me know if you need some sample code.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only