B
Brett
When I run this line:
myolApp = CreateObject("Outlook.Application")
The myolApp object has a value of {Outlook.ApplicationClass}. When I expand
it in the watch window, all properties/methods of that object have a value
of
<error: an exception of type: {System.InvalidCastException} occured>
I'm referencing the Outlook 10.0 Object Library (Interop.Outlook), which
list the version as 9.1 in the properties window. The
Interop.Microsoft.Office.Core 2.2 reference is also there.
Does any one know what causing this error and a possible solution?
Using VB .NET 2003 with .NET 1.1 framework.
Thanks,
Brett
myolApp = CreateObject("Outlook.Application")
The myolApp object has a value of {Outlook.ApplicationClass}. When I expand
it in the watch window, all properties/methods of that object have a value
of
<error: an exception of type: {System.InvalidCastException} occured>
I'm referencing the Outlook 10.0 Object Library (Interop.Outlook), which
list the version as 9.1 in the properties window. The
Interop.Microsoft.Office.Core 2.2 reference is also there.
Does any one know what causing this error and a possible solution?
Using VB .NET 2003 with .NET 1.1 framework.
Thanks,
Brett