Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook interface not working
Message
From
02/05/2008 10:40:25
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01314751
Message ID:
01314788
Views:
28
That's basically the same code (mine is based on Tamar's example, too :-)
therefor I get the same behavior (works in debugger , not w/o debugger)

Peter


>Check this message Re: How to find Outlook appointment and update/delete it Thread #669711 Message #669826 and see if you can try to adjust your code similar way.
>
>>I have the following click event method:
>>
>>cid=ALLTRIM(curEMAILLINKS.EntryID)
>>IF NOT EMPTY(cid)
>>	WITH THISFORM
>>		.oOutlook=NULL
>>		.oOutlook = CREATEOBJECT("Outlook.application")
>>		.oNameSpace	= .oOutlook.GetNameSpace("MAPI")
>>****	           .oFolders	= .oNameSpace.Folders
>>		.oItem=.oNameSpace.GetItemFromID(cid)  &&& <---error
>>		WAIT WINDOW TIMEOUT 1 cid
>>		.oItem.DISPLAY()
>>	ENDWITH
>>ELSE
>>
>>ENDIF
>>
>>
>>this opens the email in outlook ONLY when I step though the code in the debaugger. witout the debugger it errors with a file not found.
>>
>>I even added the wait wind think it might be a timing issue.
>>
>>But now I am really stumped
>>
>>
>>Peter
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform