Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomm32.ocx
Message
From
13/09/2007 00:06:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Mscomm32.ocx
Miscellaneous
Thread ID:
01254049
Message ID:
01254049
Views:
98
Hi all

I can use this code on my own computer to open a cashdraw but does not work on client's computer.
The code is : (nComport is 1)
if cCashdraw="Y"
with thisform.MSCOMM1
.CommPort=nComport
.Settings="9600,n,8,1" && Set the baud rate
.PortOpen=.t. && Open the port
.output="A" && send A Character
.output="A"
.output="A"
.output="A"
.PortOpen=.F.
endwith
endif

On client's computer, I get "OLE error code 0x80040154. Class not registered. OLE object is being ignored"

Any ideas ??? Your help will be appreciated. Thanks.
Shafid
Next
Reply
Map
View

Click here to load this message in the networking platform