Skip to content

FoxShell/qrcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrcoder

QRCode generator for VFP9 and VFP Advanced. Works with kodnet

Usage

  1. QRcoder for VFP works with kodnet (a library for Microsoft .NET interop). Please first install kodnet (3.0.1 or superior)

  2. Add src/qrcoder.prg to your project

  3. Execute file at startup

do qrcoder.prg
  1. It's ready. You can use with object _screen.qrcoder

Methods

// 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

Example

See example at samples/generate.prg

About

QRCode generator for VFP9 and VFP Advanced

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published