Outlook Application

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
 
S

Sue Mosher [MVP-Outlook]

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?
 
J

JonWayne

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
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top