Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems reading from serial port with MSCOMM32
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00154570
Message ID:
00154674
Views:
16
>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")

MSCOMM32 is a tricky little beast. Look up the MS knowledge base - there's an article somewhere there on what settings work and don't work using VB - and some sample code. The same applies to VFP. The Docs that come with MSCOMM32 aren't sufficient to set it up reliably
Previous
Reply
Map
View

Click here to load this message in the networking platform