G
Guest
A few weeks ago, I was involved in a discussion about Office XP databases that referenced the OL 10 library not automatically re-referencing to the OL 9.0 library when used on an Office 2k machine, and vice versa. The discussion is a little lengthy or I'd repeat it here. You can find it by clicking on search by author (ScottE), and it's the thread "Microsoft Outlook 9.0 Object Library" beginning on 1/28/04 in m.p.a.modulesdaovba
Here's my question. Disambiguation was one interesting solution that was proposed. Here's another solution that works (so far), on which I'm interested in your comments. I deleted the reference to any of the Outlook libraries, changed all of the Outlook object-level variables to object (dim ola as outlook.application changed to dim ola as object, etc), and changed any constants to their actual values (olContactItem changed to 10, or whatever the correct number is). Put another way, I late-bind the OL variables instead of early-binding them. All OL-related functions still work perfectly. I know it's said that early-binding is better (faster), but the dismabiguation solution adds a lot of complexness. What are the problems with the de-referencing solution
Thanks
- Scott
Here's my question. Disambiguation was one interesting solution that was proposed. Here's another solution that works (so far), on which I'm interested in your comments. I deleted the reference to any of the Outlook libraries, changed all of the Outlook object-level variables to object (dim ola as outlook.application changed to dim ola as object, etc), and changed any constants to their actual values (olContactItem changed to 10, or whatever the correct number is). Put another way, I late-bind the OL variables instead of early-binding them. All OL-related functions still work perfectly. I know it's said that early-binding is better (faster), but the dismabiguation solution adds a lot of complexness. What are the problems with the de-referencing solution
Thanks
- Scott