I'm working on an Outlook 365 email retrieval project, using CreateObject("Outlook.Application").
It's going fine, it's based on something I built in Harbour a couple of years ago.
I'm just wondering if there's a way to get more debugger information from some of the objects.
So for example, after executing this:
Código: Seleccionar todo
TRY
Outlook_o = CreateObject( "Outlook.Application" )
CATCH
Alert( "Problem generating Outlook object " + Ole2TxtError() )
Outlook_o := NIL
Return .f.
END
IF Outlook_o != NIL
NameSpace_o := Outlook_o:GetNamespace("MAPI")
NameSpaceFolders_o := NameSpace_o:Folders
Folders_n := NameSpaceFolders_o:Count
EndIf
The Outlook and Namespace objects contain only the basic properties __CARGO, __HOBJ, __HOBJENUM, __HSINK.
Aside from assigning the needed properties into variables, as in above looking at the Count property of NameSpaceFolders_o
Código: Seleccionar todo
Folders_n := NameSpaceFolders_o:Count