You can use Mscomm control for serial communications. See
- file #
9336 Basic Serial Communication with MSCOMM - file #
9636 Good practice in using MSCOMM.OCX in VFP- faq #7807
Serial communications with a COM port using MSCOMM- faq #7943
How do I determine the Comm ports available to MSCOMM>I have written a program in VFP7 & trying to open a cash drawer attached to COM1 port. In DOS I use the following commands:
>
>SET PRINTER TO COM1
>SET PRINTER ON
>?? CHR(07) *-- Bell character
>SET PRINTER TO
>SET PRINT OFF
>
>It worked in DOS Foxprox 2.5. But the same code does not work in VFP7.
>
>If somebody has any suggestion, please let me know.
>
>Thank You
>
>
>Raz
--sb--