Outlook Application

  • Thread starter Thread starter JonWayne
  • Start date Start date
J

JonWayne

I have a MSAccess app that controls Outlook03 thru automation, which works
fine. I recently put the same app on my laptop, which has Outlook97
installed. All but one of the objects I reference exist in both versions;
the ItemProperties (UserProperties in v97) being the exception, which I
changed on the laptop. However, I get an error when I execute the line :
Set App = CreateObject("Oultook.Application")
on the laptop. The error is a type mismatch error. This same call works fine
in Outlook 03 and App is declared as Outlook.Application

Any clue?

Thank you
 
You realize you have a typo:

Set App = CreateObject("Oultook.Application")

Did you change the reference for the application to use the Outlook 97
library?
 
I did
Sue Mosher said:
You realize you have a typo:

Set App = CreateObject("Oultook.Application")

Did you change the reference for the application to use the Outlook 97
library?
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Did you fix the typo? How do you have App declared? What does the
CreateObject expression return?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top