Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening an electronic cash drawer
Message
From
15/03/2001 12:03:17
 
 
To
15/03/2001 11:31:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00485363
Message ID:
00485435
Views:
11
>>>I have a CR3001 electronic cash drawer manufactured by Logic Control Inc. The functional test checks out fine. But I cannot make my VFP open it via serial port connection.
>>>
>>>If anyone has had any experience with this product or can help it would be most appreciated.
>
>>You need to use the MSCOMM32 OCX to control the serial port; you can't do it in VFP using low-level file I/O.
>
>
>Thanks.
>Where would I look to find out how to use MSCOMM32.OCX?


Look in the FAQ here and in the Files Section - both have sample code for manipulating MSCOMM32 from within VFP. The docs on the MSCOMM32 control in the MSDN contains samples in VB, but converting them from VB to VFP is relatively trivial.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform