I have an app that has one small component that uses a reference to MS
Outlook 9.0 to create an email. Now we have users on 9.0 and 11.0,
sometimes it causes the reference to switch and this causes the missing
reference issue. What is the best way to get around this?
Thanks
Anthony England - 23 Feb 2006 14:48 GMT
>I have an app that has one small component that uses a reference to MS
> Outlook 9.0 to create an email. Now we have users on 9.0 and 11.0,
> sometimes it causes the reference to switch and this causes the missing
> reference issue. What is the best way to get around this?
> Thanks
Alter you code to use late binding - this means you can remove the reference
to the Outlook library.
Jeremy Wallace - 23 Feb 2006 16:37 GMT
Are all the users sharing one front end? Sounds like it.
Give each user a separate front end, on their local machine.
Before distribution, set references on a machine that uses the oldest
version of Outlook that anyone might have--moving to a newer version
won't cause any problems.
For distribution, you'll probably want to use some sort of batch file.
I wrote up one of mine at my old website http://www.abcdataworks.com,
in the Developers' section.
Jeremy
--
Jeremy Wallace
http://metrix.fcny.org
AP - 28 Feb 2006 20:34 GMT
Thanks for the tip. I actually fixed it by moving to late binding. I
did try your method too, however when I copy the front end, it does it
in less than a second and then it will not open the copy, I get the
message cannot find 'MSysDb', however if I copy by drag and drop it
works fine?? any ideas here?
Thanks