Re: how can I make a runtime version of an access database that us
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Wed, 30 Jul 2008 06:36:48 -0500
Chris O''''Neill wrote:
"Douglas J. Steele" wrote:
Not only is it not possible to compile Office objects into an Access
application (regardless of where you're using the run-time),
distributing files like msoutl.olb is illegal.
I understand that, but is it not possible (and legal) to reference the
msoutl.olb that's already on the user's sytem if they have
Office/Outlook already installed? For instance, I'm developing with
Access XP (ACC10) so the Outlook Object Library is located here:
c:\Program Files\Microsoft Office\Office10\msoutl.olb
I'm assuming that if my application is installed on a system that has
Outlook XP already installed it will run "out of the box" if it finds
msoutl.olb in that subdirectory, right? (Btw, I'll be distributing my
application as an MDE front-end and an MDB back-end, in case that
makes a difference?)
This brings up another question... If the user has Access/Outlook
2003 or 2007 installed, is it possible to programmatically search for
msoutl.olb on their system, change the reference to point at that
library, and have the application run properly? Or, will my
application *only* run on an Access/Outlook XP (2002) system? (Btw,
I'm assuming that my application will *not* run on anything earlier
than Access/Outlook XP, right?)
If the answer to that last question is that it will run so long as the
reference is changed, can someone explain how to programmatically
change the reference? I'm assuming that'd be a DAO routine, right?
Search these groups for "Late Binding". It accomplishes exaclty what you
are describing although not in the manner you describe. It is the only
practical way to use external libraries in a distributed app. Basically it
is a way to utilize external code libraries without setting a reference to
them.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
.
- Follow-Ups:
- Re: how can I make a runtime version of an access database that us
- From: Douglas J. Steele
- Re: how can I make a runtime version of an access database that us
- References:
- Re: how can I make a runtime version of an access database that uses o
- From: Douglas J. Steele
- Re: how can I make a runtime version of an access database that us
- From: Chris O''''Neill
- Re: how can I make a runtime version of an access database that uses o
- Prev by Date: subform prob
- Next by Date: Accessing SQL code in a query
- Previous by thread: Re: how can I make a runtime version of an access database that us
- Next by thread: Re: how can I make a runtime version of an access database that us
- Index(es):
Relevant Pages
|