Yuri,
When I insert this code into my method, I get the error: "ActiveWindow does not evaluate to an object".
Here is the code:
With This
.oOutlook = Createobject( 'Outlook.Application' )
If Type( 'Thisform.oOutLook' ) = 'O' And Not Isnull( .oOutlook )
.oNameSpace = .oOutlook.GetNameSpace( 'MAPI' )
.oOutlook.ActiveWindow.WindowState = 2 &&normal, 0 - maximized
If Type( 'Thisform.oNameSpace' ) = 'O' And Not Isnull( .oNameSpace )
llRetVal = .T.
Endif
Else
llRetVal = .F.
Endif
Any ideas?
Thanks,
-Steve
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only