General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only