Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module not running in .mdb access files #8

Open
gely73 opened this issue Jan 29, 2024 · 3 comments
Open

module not running in .mdb access files #8

gely73 opened this issue Jan 29, 2024 · 3 comments

Comments

@gely73
Copy link

gely73 commented Jan 29, 2024

Hello, the module runs perfect in .accdb access files but in .mdb files it returns error 2192 "The bitmap you specified is not in a device-independent bitmap (.dib) format."
I use the function "Image0.PictureData = QRCodegenConvertToData(QRCodegenBarcode("Sample text"), 500, 500)"
Can you help me please with this?

@wqweto
Copy link
Owner

wqweto commented Jan 29, 2024

After updating to latest version (past commit a927668) try using

Image0.PictureData = QRCodegenConvertToData(QRCodegenBarcode("Sample text"))

. . . directly without passing width/height parameters.

I've updated MS Access Support section in repo's README a bit too.

@gely73
Copy link
Author

gely73 commented Jan 30, 2024

Hello again. I've tried without the width/height parameters, but still have the same error. If i can't do it with this function, is there any other way, for example to save the qrcode as a .bmp file and then load it to the picture control?
Or any other way?
This module works perfect with very long texts-links. I've tried it in .accdb forms and its perfect, but i've stucked with my .mdb project.

@gely73
Copy link
Author

gely73 commented Jan 30, 2024

No IT WORKS!!!
I hadn't download the latest version. With this IT WORKS PERFECT.

Hank you very much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants