Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Dial Up
Message
From
14/04/1998 09:37:12
 
 
To
14/04/1998 09:31:00
Mark Kessler
U.S.M.C. - Network Operation Center
Quantico, Virginia, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00091732
Message ID:
00091743
Views:
24
>I'm not either... but I did print it off. I will type it in for you.
>
>Quotes::
>
>Example: supose we have a form with 'comm'=MSComm object in it.
>
>Initialization:
>thisform.comm.settings='9600,N,8,1"
>thisform.comm.commport=2 & COM2 with 9600baud ...
>thisform.comm.portopen=.T. & try to open port
>if !(thisform.comm.portopen)
>=messagebox('Port not opened!',0,'Error')
>endif
>
>...now communicate with somthing on port with
>thisform.comm.output="bla bla bla..."
>lreturnedvalue=thisform.comm.input
>
>More useful settings:
>
>comm.inputlen=0 & read entire buffer when you use comm.input
>comm.inbuffercount & number of chr recieved in buffer
>comm.outbuffercount & -\\- in output buffer
>comm.rthreshold & number of chr recieved for file event comm.oncomm()
>comm.commevent &numeric code of event who fired comm.oncomm()
>
>For more help right click on MSComm and choose Help...
>
>
>::End Quote.

What about actually dialling a modem though? Where do you put the phone number?
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform