Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Database References In Code.

Status
Not open for further replies.

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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top