ADO Error: Automation error - The specified module could not be found

Posted by KerryF on Stack Overflow See other posts from Stack Overflow or by KerryF
Published on 2009-05-03T19:35:42Z Indexed on 2010/04/02 19:03 UTC
Read the original article Hit count: 301

Filed under:
|

My VB6 application which runs successfully on many machines is producing the above error on just 1 users machine. Machine has Vista SP1 which means the MDAC installer will not work since MDAC 2.8 is already included.

Code that leads up to the error:

'Temp file to users temp directory:
FileName = C:\DOCUME~1\nmiller\LOCALS~1\Temp\TmpPrint.mdb 

Dim catADO As New ADOX.Catalog
catADO.Create "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & FileName

Error happens on the .Create line.

Any help getting this user going would be greatly appreciated!

© Stack Overflow or respective owner

Related posts about ado

Related posts about vb6