John Cosmas said:
I have Outlook functionality built into my Access application and I would
like to ship with my installation the libraries, files, OLB's and other
necessary files required to get the application to work in runtime mode on
the target client. If anyone knows how to locate, find, or has references
to file lists at msdn or elsewhere the filelist I will need to make this
happen, please let me know.
Given that Outlook may or may not exist on the target system, and you
don't know what version it will be I'd suggest using Late Binding.
Late binding means you can safely remove the reference and only have
an error when the app executes lines of code in question. Rather than
erroring out while starting up the app and not allowing the users in
the app at all. Or when hitting a mid, left or trim function call.
You'll want to install the reference if you are programming or
debugging and want to use the object intellisense while in the VBA
editor. Then,. once your app is running smoothly, remove the
reference and setup the late binding statements.
Sample code:
' Declare an object variable to hold the object
' reference. Dim as Object causes late binding.
Dim objWordDoc As Object
Set objWordDoc = CreateObject(" Word.Document")
For more information including additional text and some detailed links
see the "Late Binding in Microsoft Access" page at
http://www.granite.ab.ca/access/latebinding.htm
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm