Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error
Message
De
06/08/2002 18:17:42
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Error
Divers
Thread ID:
00686801
Message ID:
00686801
Vues:
103
Hi! There

Does anyone has experience msmComm control 6.0. I am using VFP7.0. When I use the following code to open a cash drawer on a computer with foxprox installed it works fine. But when I runc the same program compiled on a computer without foxpro installed, I get and error message:

OLE Error Code 0x80040112: Appropriate license for this class
not found.

I do drop the OLE control for msmComm on the form on the form calling this routine.

<>
Sample Code:

*load mscomm
oComm = CREATEOBJ('MSCOMMLib.MSComm')
oComm.CommPort = 1
oComm.Settings = "9600,N,8,1"
oComm.InputLen = 0
oComm.PortOpen = .T.

*-- At this point cash drawer opens
oComm.output = 'CHR(07)'

* Close the port
oComm.PortOpen = .F.
RELEASE oComm

*--
<>

Any help deeply appreciated....

Thanks In Advance...

Raz & Alook
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform