R
Rick Brandt
Ian said:We've created a database that has the ability to create pdf format
reports, and email them as attachments using Outlook.
I have Office XP on my machine, but when my colleague uses the prog
in 2003, I have to reset the reference to the Outlook object library
when I want to use it again.
Question 1 is, am I right in thinking that if I make the database an
MDE file in XP, this will overcome the problem?
No. It will just make it impossible to correct on the other machine.
Question 2; I feel I should know the answer to this, but if I did,
I've forgotten. How can I detect if the user has Outlook installed
on their machine, before they can access the emailing facility?
Switch to late binding. That will make the Outlook code version independent and
the user will get an error that you can trap for when they don't have Outlook
installed.
One shoud (almost) never add a reference to an Access app that is expected to
run on systems that are not exactly the same.