QRCode generator for VFP9 and VFP Advanced. Works with kodnet
-
QRcoder for VFP works with kodnet (a library for Microsoft .NET interop). Please first install kodnet (3.0.1 or superior)
-
Add src/qrcoder.prg to your project
-
Execute file at startup
do qrcoder.prg
- It's ready. You can use with object
_screen.qrcoder
// Create a PNG Image QRCode, and returns the binary content as string
// you can use the string to save a file
_screen.qrcoder.createPNG(content: string, correctionLevel?: "H" | "M" | "L" | "Q") : string
// Create a PNG Image QRCode and save to file
_screen.qrcoder.savePNG(content: string, file: string, correctionLevel?: "H" | "M" | "L" | "Q") : void
See example at samples/generate.prg