web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

QR Code in ax 2009

(0) ShareShare
ReportReport
Posted on by 181

Hi dears, 

I want to create QRCode in AX 2009 

I try this method and it's not working  

https://community.dynamics.com/365/financeandoperations/b/dynamicsofax/posts/generating-qr-codes-in-ax-2009

can you please tell how to Create QR Code 

thanks, 

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    What do you mean by not working? Are you getting an error? It will be easier for us to help you if you explain your situation.

    It is usually caused by illegal characters, I recommend you to review the data.

    You can check the links below.

    community.dynamics.com/.../839628

    sysirfan.blogspot.com/.../x-code-to-print-qr-code-ax2009-called.html

    programmerall.com/.../

  • Abd Alsameea Nat Profile Picture
    181 on at

    Thanks for replay

    this is the Error "object-clrobject-could-not-be-created"

    I tried to use these also I'm facing the same problem

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    An exception occurred while creating the .NET object. This is a very common error, but most likely, it cannot see the MessagingToolkit.QRCode.dll.

    If your codes is running on the server side, don't forget to add the dll. Also, if you're working on a different machine, don't forget to add the dll to the client/bin folder.

  • Acer Profile Picture
    75 on at

    I dont know if this is any help but we made our own 2D code generator in a dll (small task for a .Net developer)

       Image               image = new Image();

       BinData            binData;

       str                     strImageBase64;

       ;

       strImageBase64 = Ax.Net.Barcode::GenerateQRBase64("Text to put in the QR code", 300, 300, 600);  // size and dpi added after the text

       binData = new BinData();

       binData.setData(BinData::loadFromBase64(strImageBase64));

       binData.saveFile(variableWithATempPath);

       image = new Image();

       image.setData(binData.getData());

       // QRBarcode is a Window control on a form

       QRBarcode.imageResource(0);

       QRBarcode.imageName(variableWithATempPath);

    As you can see first you make the .Net dll create the strBase. Then you create binarydata object which you save at a temp path.

    Then you tell the Window on the form to load that binardata file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans