Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: error loading dll in Access 2000  (Read 4648 times)

0 Members and 1 Guest are viewing this topic.

benedetto

  • Guest
error loading dll in Access 2000
« on: December 19, 2005, 04:06:10 AM »
 ???
Dear friends,
I must write a new module in Access to change the library ADO with DAO3.6.
When I try to do it the Microsoft Visual Basic display this message:"Error loading dll" .
I have already re-installed all the office-package but the risult is the same.
Thanks a lot for your help.
Regards
Benedetto

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: error loading dll in Access 2000
« Reply #1 on: December 19, 2005, 06:39:31 PM »
Quote
I must write a new module in Access to change the library ADO with DAO3.6.


Are you refering to the VB references? Once you bring up the module screen, click Tools-->References and then click Microsoft DAO 3.6 Object Library. Be sure to unclick Microsoft ActiveX Data Objects 2.1 Library.

If I misinterpreted your question, repost and maybe we can go from there. 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

benedetto

  • Guest
Re: error loading dll in Access 2000
« Reply #2 on: December 20, 2005, 12:50:21 AM »
Yes, I had already done all many times, according to your instructions .
When I click to "OK" the system doesn't create the module and the message is , as I wrote, "error loading dll"(my computer speaks italian and swedish but the translation is correct, I think).
Thank you very much for your help.
Benedetto

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: error loading dll in Access 2000
« Reply #3 on: December 20, 2005, 07:07:50 AM »
Perhaps the DAO360.dll is not properly registered. Generally the DAO360.dll can be found in c:\Program Files\Common Files\Microsoft Shared\dao

Try registering the dll:

Code: [Select]

Regsvr32.exe C:\progra~1\common~1\micros~1\dao\dao360.dll


You may have to change the path to your situation. Note: do not use the long file name when running regsvr32. Use the old fashioned 8.3 notation.

Hope this helps. 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

benedetto

  • Guest
Re: error loading dll in Access 2000
« Reply #4 on: December 21, 2005, 01:21:38 AM »
Dear Sidewinder,
thank you very much for your answer.
I found the dao360 in microsoft shared\DAO but the extension is .chm, not .dll.
Is this the problem?
I tried also to register the dll as you wrote in your message but I didn't succeed.
Many thanks if you can suggest any other solution.
Benedetto

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: error loading dll in Access 2000
« Reply #5 on: December 21, 2005, 05:35:44 AM »
Try doing a Windows search for DAO360.dll on your disk(s). If and when you find it, use the path (the 8.3 version of the path) to run regsvr32.

If the DAO 3.6 showed in the Access VB reference window, it should be on your system somewhere. The Microsoft Shared\DAO folder should hold all the versions of DAO. A CHM file is a compiled help file and should not be in the DAO folder but in the Office documentation folder.

When Office was installed did you experience any problems? Just out of curiousity why DAO and not ADO?

8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

benedetto

  • Guest
Re: error loading dll in Access 2000
« Reply #6 on: December 22, 2005, 02:46:08 AM »
Dear Sidewinder,
thank you for your help.
I fixed all.
I must change ADO with DAO because an italian access-microsoft expert suggested it to improve my database,he said that ADO is no longer in use.
Anyway have a Merry Christmas if I don't post anything more today.
Benedetto :)