Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCOMM32.OCX question.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054067
Message ID:
00054132
Views:
28
>>Ulises could you be more explicit? What problems are you having?
>
>Hello Barbara,
>
>My problem is the next:
>First, I want to send a binary file trought a modem connection so I need first to open the comunication port with Visual Fox and then transfer the file.
>
>I can open the port with the "this.portopen = .t." command, then with the "ATA" and "ATDT" modem commands, establish a link, but the problem start when I try to send any signal from computer to computer... simply i never get anything :(
>I am using the "This.Output = DATA" command to send the data to the buffer, and the "A = This.Input" command to read the data from the buffer.
>
>Can you explain to me the best way to send the file with the modem?
>I allready try with Microsoft Developers Help in Microsft web site, but the information I get from there can't tellme any more that I allready know :(
>
>Thank you,
>Ulises.

Ulises, Glenn had a good idea about getting the PDQComm which has your file transfer protocols built in. It will save you a great deal of work. In addition, check the size of your InBufferSize and OutBufferSize properties on your OCX.

My app sends and receives commands to/from a radio scanner device. I store incoming strings in a form property, then send the output with the 'THIS.OUTPUT' command as you are. In your command above, is DATA the information in the file? If so, then it may be too large for your buffer. Try sending a simple, short text string to the other computer and see if it is received.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform