-
File not found[SOLVED]
Hi.
Im using the vbzip11.dll to zip files.
I used vbAccelerator's example how to zip files.I put the dll in the folder where i saved the source of this example and it works.
Now I put the file on the folder with the source of my program.When I try to use it i get "Run time error 53 : File not found : vbzip11.dll "
If I put in the the \windows\system directory it works fine!
Why is this happening?
Thanks!:):wave:
-
Because the .dll belongs in the System folder. If you want to put it in another folder, try adding that folder to your Path Statement in your system enviornment. You may have to also register the .dll file.
-
Yes but why can it be used when it is on the vbAccelerator's example how to make zip source code?
And the dll cant be registred...
-
-
They probably placed it inside the folder of the project. Did you really think Windows is magic to know where everything is?
-
Try registering the dll... With the RegSvr32...
-
Nevermind I fixed it...
Used the API GetSystemDirectory then replaced 32 with vbNullString and then used dir to see if the dll exists.Then if it didnt then I would use FileCopy...
Thanks everybody!