micjahn / ZXing.Net

.Net port of the original java-based barcode reader and generator library zxing
Apache License 2.0
2.69k stars 666 forks source link

Using the zxing project to generate QRCode in SSRS reports #106

Open FadwaSa opened 6 years ago

FadwaSa commented 6 years ago

Hello, I need to generate QRCode in my SSRS reports using the zxing project but I don't know how! Could you please help me ? Thanks

A9G-Data-Droid commented 6 years ago

This is not an Issue and should be closed. That being said:

This library has more documentation than most I've ever seen.

Read this: https://github.com/micjahn/ZXing.Net/releases/download/v0.16.4.0/ZXing.Net.Documentation.0.16.4.0.zip

Also take a look at the examples: https://github.com/micjahn/ZXing.Net/tree/master/Clients/WindowsFormsDemo

Here is an example of someone who did this using a different library: http://www.sqlservercentral.com/articles/QR+Code/105388/

raboud commented 5 years ago

I've done this. I actually did it so i could put qrcodes in header of reports. It is quite drawn out process.

Might I suggest generating the qrcode outside the report and base64 encoding it. Then pass to the report as a parameter.

A9G-Data-Droid commented 5 years ago

This is not a forum. This is the "issues" section, used to report bugs to the developer. Please be respectful of the developers who wrote this software and discuss usage elsewhere.

I'm not sure if @micjahn is still active or why this issue was still active. I would close it.

micjahn commented 5 years ago

I'm active but often busy. I leave that issue open because I want to find a solution which supports SSRS. But the last time I tried it I had trouble with the security model of SSRS.

raboud commented 5 years ago

The implementations vary based on OS version and SSRS version and if you are running SSRS in a container. Thus the matrix of possibilities is quite complex.

albgen commented 3 years ago

I'm active but often busy. I leave that issue open because I want to find a solution which supports SSRS. But the last time I tried it I had trouble with the security model of SSRS.

A signed assembly can solve this issue by installing on the GAC. No need to mess with security model of ssrs. Here it is an exaample with another lib https://www.sqlservercentral.com/articles/generate-qr-code-barcodes-in-an-ssrs-report-with-the-qrcoder-library