Results 1 to 7 of 7

Thread: File not found[SOLVED]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473

    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.

  2. #2
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473
    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...

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473
    bump

    Help?

  5. #5
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    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 .

  6. #6
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Try registering the dll... With the RegSvr32...


    Has someone helped you? Then you can Rate their helpful post.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473
    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
  •  



Click Here to Expand Forum to Full Width