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

Problem to save clipboard image to local #39

Open
XavierMirBcn opened this issue May 31, 2020 · 8 comments
Open

Problem to save clipboard image to local #39

XavierMirBcn opened this issue May 31, 2020 · 8 comments

Comments

@XavierMirBcn
Copy link

Dear Krish,

It is great for me to have found your great software, thank you very much!
I am using Access 2013, 64 bits, Windows 10.
I have download your dll_test access database and the VBA_tools.dll and bin directory for 64 bits.

Using your sample access database, when I press the option "Save clipboard image to local" it comes the error: "object variable or With block not stablished" (I have translated from Spanish)

The error happens in the line:
Debug.Print gDll.DLL.Graphics.SaveClipboardToImage("", "", "")

Any idea what happens?
Thanks a lot in advance

Xavier

@lajjutz
Copy link

lajjutz commented Jun 1, 2020

Ya revisaste que no estén bloqueados las librerías dll..?, seguro esto es lo que te sucede..
Saludos

@XavierMirBcn
Copy link
Author

Thanks lajjutz, I checked all dll and all files are are unblocked as Krish recommended to do. But something else should be done because it is not only this option which is not working, there are other options of the sample database which are giving me the same errors. Errors always happen in code line with dDll:

For example:
gDll.ChangeAccessFormColor gBootstrap.elegant_color_dark

Or:
ProgressBarId = gDll.ShowProgressBar(100, "Executing your query", "Please wait. We are preparing printer driver", ThemeBg:=gBootstrap.DANGER_COLOR)

and so on. I presume something is wrong in terms of accessing gDll.

Thank you very much

@krishKM
Copy link
Owner

krishKM commented Jun 1, 2020

Please re-download the x64 dlls. I republished them again. @XavierMirBcn

@XavierMirBcn
Copy link
Author

Dear Krish, now it works perfectly, thank you very much, wonderful !, thank you very much

@Saphirah
Copy link

Saphirah commented Jun 4, 2020

Hey Krish, first gotta spread some love, you did an amazing job with this library.

Since the latest Update the SaveClipboardToImage function is not working for me. Here is a snipped of my code. I installed the 64bit version, just like last time.

Basically what i am doing here is Taking a screenshot with snipping tool, save the image to clipboard and then save the clipboard to a file.
grafik

@krishKM
Copy link
Owner

krishKM commented Jun 4, 2020

@Saphirah Are you sure? it's working for me and XavierMirBcn said after re-downloading the x64 dll + bin folder it's working fo him too.

@XavierMirBcn
Copy link
Author

Hi Saphirah, it works perfectly for me and very fast.
Just be sure you have downloaded the 64 bits files of VBA_TOOLS.dll and ZintNetLib.dll

@Saphirah
Copy link

Saphirah commented Jun 6, 2020

Okay i did not update the modules, that is why... Thanks guys and thank you VERY MUCH krishKM! Your Library is awesome!

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

4 participants