Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mscomm32.ocx
Message
De
13/09/2007 00:06:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Mscomm32.ocx
Divers
Thread ID:
01254049
Message ID:
01254049
Vues:
95
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform