Owen <google (AT) healthbase (DOT) com.au> wrote in
news:c4d9977c-03b5-487c-9c51-faeff712206e (AT) z15g2000prn (DOT) googlegroups.co
m:
Quote:
Is there a way to do this? |
Not in the traditional way of using actual late binding. Instead,
you have to structure your library so that all of its functionality
is available via functions, and then use Application.Run to execute
its functions.
Or, it might be that you can open the database with DAO and use Run
on the database's functions, but you still have to have wrapper
functions around them. I do know that any time you use .Run like
this, the project you're running gets listed in the project viewer
in the VBE, so you might be able to trick it into working like early
binding by calling one function with Run and then everything else
would be available as with a reference. But I'm just speculating
here -- I like to keep my add-ons segregated from my apps (to
prevent breakage of the app when the add-on is missing), so I
consider the extra "distance" a feature, not a disadvantage.
--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/