QR Code Generator

More
2 years 5 months ago - 2 months 2 weeks ago #341 by Bruce Armstrong
Bruce Armstrong created the code: QR Code Generator
This code sample uses the open source QRCoder .net assembly ( github.com/codebude/QRCoder ). I created a wrapper assembly for that using SnapDevelop, and then a demo project in PowerBuilder 2019 R3 showing how it's used.

Update 07/04/2023: Updated to include sample built with PowerBuilder/SnapDevelop 2022

This message has attachments files.
Please log in or register to see it.

Last Edit: 2 months 2 weeks ago by Bruce Armstrong. Reason: Updated for PowerBuilder 2022

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #460 by Bruce Armstrong
Bruce Armstrong replied the code: QR Code Generator
Remove the second line in the open script. Apparently I am referencing a method there that existed at the time I wrote the demo, but no longer exists in more recent versions of PowerBuilder. In particular, the line you want to remove is:

inv_generator.of_seterrorhandler( this, 'assemblyerror')

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #386 by Bruce Armstrong
Bruce Armstrong replied the code: QR Code Generator
Hard to tell you what is wrong without a specific error message. For what it's worth though if you try to import a .Net Core library and you've selected .Net Framework as the Framework Type you'll get an error like the attached.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #384 by alberto cardenas
alberto cardenas replied the code: QR Code Generator
Hi Bruce,
Thank you the code.


I download the code I try to run in PW 2019 and it marks an error in nvo_qrgenerator it tells me that dotnetobject is not there, I do not know if I am missing something to do, thank you very much in advance

Please Log in or Create an account to join the conversation.

Moderators: Appeon Administrator