Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Barcode from Codeplex
Message
 
 
To
09/02/2011 18:51:45
Luis Navas
Independent Consultant
Auckland, New Zealand
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01499507
Message ID:
01499517
Views:
52
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")
Previous
Reply
Map
View

Click here to load this message in the networking platform