Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation with Outlook 2007
Message
From
14/04/2008 12:59:43
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Automation with Outlook 2007
Miscellaneous
Thread ID:
01310442
Message ID:
01310442
Views:
83
I have code in my VFP8 application to send email using Outlook. I have the BindEvents coded for different versions of Outlook, but now a client has Outlook 2007 and it's not recognized. What is the official version # of Outlook 2007? For 2003, I have the following code. What is the equivalent for Outlook 2007?
DEFINE CLASS OutlookEvents11 AS session OLEPUBLIC

	IMPLEMENTS ApplicationEvents_11 IN {00062FFF-0000-0000-C000-000000000046}#9.2

	PROCEDURE ApplicationEvents_11_ItemSend(Item AS VARIANT, Cancel AS LOGICAL @) AS VOID
        * add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_NewMail() AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_Reminder(Item AS VARIANT) AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_OptionsPagesAdd(Pages AS VARIANT) AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_Startup() AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_Quit() AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_AdvancedSearchComplete(SearchObject AS VARIANT) AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_AdvancedSearchStopped(SearchObject AS VARIANT) AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_MAPILogonComplete() AS VOID
	* add user code here
	ENDPROC

	PROCEDURE ApplicationEvents_11_NewMailEx(EntryIDCollection AS STRING) AS VOID
	* add user code here
	ENDPROC

ENDDEFINE
Elyse Pomerantz
Next
Reply
Map
View

Click here to load this message in the networking platform