Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barcode from Codeplex
Message
 
À
09/02/2011 18:51:45
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01499507
Message ID:
01499517
Vues:
53
I did as Luis said using locfile and also as below, but the error is the same.

Below is the full code
SET PATH TO BARCODE\FoxBarcode\Source

SET PROCEDURE TO FoxBarcode.prg ADDITIVE

SET PROCEDURE TO gpImage2.prg ADDITIVE


*-- Create object
loFbc = CREATEOBJECT("FoxBarcode")

*-- Set the properties
WITH loFbc
  .cImageType = "PNG"
  .nBarcodeType = 110 && Code 128
  .cSet128 = "C" && Set 128 C
  .nImageHeight = 100
  .nFactor = 2
ENDWITH

*-- Generate image
lcImagen = loFbc.BarcodeImage("123456789012")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform