Results 1 to 8 of 8
  1. #1
    jzhou is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2010
    Posts
    4

    Access can not find dll

    I have a simple declaration
    Declare Function ENopen Lib "epanet2.dll" (ByVal F1 As String, ByVal F2 As String, ByVal F3 As String) As Long



    and it is working under windows xp and access 2007
    but Not working under windows 7 64bit Access 2010 32bit

    Here is the error
    run time error 53
    file not found: epanet2.dll

    Any suggestions? Thanks.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Where is the epanet2.dll located on the WinXP system vs the Win7 system?

  3. #3
    jzhou is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2010
    Posts
    4
    Under the same dir as the .mdb file, I did not change the dir xp vs. win7
    Thanks.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try putting another copy of the dll in the Windows\System32 directory and see what happens. Maybe it does not search the CurrentDirectory as it used to which I would think is a bug.

  5. #5
    jzhou is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2010
    Posts
    4
    I have tried that too, no success. again, thank you for your help.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Does it work if you add it as a resource? <ALT>F11 Tools>Resources

  7. #7
    jzhou is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2010
    Posts
    4
    Sorry, do you mean "Tools--References"?

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by jzhou View Post
    Sorry, do you mean "Tools--References"?
    Yes...sorry.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access cant find
    By tamu46 in forum Queries
    Replies: 1
    Last Post: 12-03-2010, 10:22 PM
  2. Access 97: Unable to find project explorer?
    By captgnvr in forum Programming
    Replies: 0
    Last Post: 07-19-2010, 09:20 AM
  3. Find as you type Combo boxes in MS Access
    By HAPPYWITHU in forum Programming
    Replies: 13
    Last Post: 06-03-2010, 08:41 AM
  4. Replies: 2
    Last Post: 03-25-2010, 08:14 AM
  5. How to restore Find dialog in Access
    By AndyKim in forum Access
    Replies: 11
    Last Post: 06-25-2009, 11:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums