|
-
Mar 22nd, 2004, 10:27 AM
#1
Thread Starter
Hyperactive Member
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!
Last edited by mike2; Mar 23rd, 2004 at 07:28 AM.
-
Mar 22nd, 2004, 10:30 AM
#2
Frenzied Member
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.
-
Mar 22nd, 2004, 10:32 AM
#3
Thread Starter
Hyperactive Member
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...
-
Mar 22nd, 2004, 12:51 PM
#4
Thread Starter
Hyperactive Member
-
Mar 22nd, 2004, 09:26 PM
#5
The picture isn't missing
They probably placed it inside the folder of the project. Did you really think Windows is magic to know where everything is?
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Mar 23rd, 2004, 05:45 AM
#6
-
Mar 23rd, 2004, 07:28 AM
#7
Thread Starter
Hyperactive Member
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|