M
Michael Tissington
I have a VB 6 OCX
In .NET I create the object and then pass an EntryID for a CONTACT Item.
Then inside the OCX object I do the following code snip
Set Namespace = Outlook.GetNamespace("MAPI")
Namespace.Logon , , , False
StoreEntryID = Namespace.Folders.Item(OutlookRoot).StoreID
Set OutlookItem = Namespace.GetItemFromID(EntryID, StoreEntryID)
OutlookItem.Display False *** .NET error here ***
Set Namespace = Nothing
When I call OCX from anything other than .NET it works correctly
However when called from .NET I get an error on the line marked.
Any ideas please?
In .NET I create the object and then pass an EntryID for a CONTACT Item.
Then inside the OCX object I do the following code snip
Set Namespace = Outlook.GetNamespace("MAPI")
Namespace.Logon , , , False
StoreEntryID = Namespace.Folders.Item(OutlookRoot).StoreID
Set OutlookItem = Namespace.GetItemFromID(EntryID, StoreEntryID)
OutlookItem.Display False *** .NET error here ***
Set Namespace = Nothing
When I call OCX from anything other than .NET it works correctly
However when called from .NET I get an error on the line marked.
Any ideas please?