Jan 9, 2002 #1 Ed2020 Programmer Nov 12, 2001 1,899 GB Guys, I want to edit the database references in code. Can anybody tell me how to create a reference to a new DLL in code? Cheers, Ed Metcalfe.
Guys, I want to edit the database references in code. Can anybody tell me how to create a reference to a new DLL in code? Cheers, Ed Metcalfe.
Jan 9, 2002 #2 jonscott8 Programmer May 12, 2000 1,317 US I presume because you stated database, this is in Access. Try: Set oRef = Application.References.AddFromFile("C:\mypath\my.dll" Debug.Print oRef.FullPath 'print path to DLL in debug window Jon Hawkins Upvote 0 Downvote
I presume because you stated database, this is in Access. Try: Set oRef = Application.References.AddFromFile("C:\mypath\my.dll" Debug.Print oRef.FullPath 'print path to DLL in debug window Jon Hawkins