Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datalogic Barcode Scanner problems
Message
De
16/07/2001 02:11:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Datalogic Barcode Scanner problems
Divers
Thread ID:
00530855
Message ID:
00530855
Vues:
97
Hi All,

I am trying to use the Datalogic formula.ocx to interface to a Datalogic Formula 725 Barcode scanner. We can successfully communicate with this scanner via Formula.OCX using VB 6.0, however using VFP6.0 SP3 I am having problems.

In VFP I have a simple form with an ActiveX control based on this OCX. We can successfully retrieve data from the scanner but are unable to write to the scanner as the properties & methods that I have used to do this under VB are not visible in Visual Foxpro.

The VB statement to write to the scanner that works is:

lnresult = frmMain.Formula1.Satellites(101).DataWrite(Val(lcScannerID), lcPrompt)

If I run the following code in VFP

lnResult = thisform.Formula1.Satellites(101).DataWrite(Val(lcScannerID), lcPrompt)

I get the following error message

"member Satellites does not evaluate to an object"

If I inspect thisform.formula1.Satellites in the debugger its type is listed as Object but there is no + sign next to it to inspect its properties.

Any thoughts or suggestions would be most gratefully accepted,

TIA

Andy
Répondre
Fil
Voir

Click here to load this message in the networking platform