J Jim Pockmire Sep 15, 2004 #1 One way to set a reference is to open the VB Editor and then go to tools, references. Is it possible to set a reference using code?
One way to set a reference is to open the VB Editor and then go to tools, references. Is it possible to set a reference using code?
P Paul Overway Sep 15, 2004 #2 In an MDB, yes. Use References.AddFromFile or References.AddFromGUID. See help for more details. If your app is compiled as an MDE, no. You'll need to use late binding (see help for CreateObject or GetObject)
In an MDB, yes. Use References.AddFromFile or References.AddFromGUID. See help for more details. If your app is compiled as an MDE, no. You'll need to use late binding (see help for CreateObject or GetObject)