Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation with Outlook 2007
Message
De
14/04/2008 12:59:43
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Automation with Outlook 2007
Divers
Thread ID:
01310442
Message ID:
01310442
Vues:
84
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform