Outlook in VB.NET
"Brian Tillman" wrote:
fniles wrote:
I am using VB.NET 2005. I created a project using the Microsoft
Outlook 8.0 Object Library (Object Model) in my previous machine. Now
that I have a new machine, when I try to compile that program in the
new machine, it gives me erros like "Type 'Outlook.Application' is
not defined", "Type 'Outlook.NameSpace' is not defined".
I have MS Outlook in my new machine.
In the new machine when I go to "Add Reference", select the COM tab,
the only MS Outlook listed is "Microsoft Outlook 11.0 Object
Library", while in the previous machine both "Microsoft Outlook 11.0
Object Library" and "Microsoft Outlook 8.0 Object Model".
If I select "Microsoft Outlook 11.0 Object Library", in the program
when I type in "dim ol as new", only "OutlookMail" is listed, while
in the previous machine "Outlook" and "OutlookMail" are listed.
How can I compile this program in my new machine ?
Ask in microsoft.public.outlook.program_vba
--
Brian Tillman [MVP-Outlook]
But it's not a VBA question, unless I'm missing something.
I believe that you need to have the earliest version of outlook on the
development platform that you wish to support. Outlook 8.0 is Outlook '97,
so do you really need to support that?
|