Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation with Outlook 2007
Message
 
 
À
01/09/2008 10:29:02
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01310442
Message ID:
01343858
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
Remove OLEPUBLIC clause.

>I got the code to work and tested on another machine that has Outlook 2007. However, I am unable to compile the EXE on my machine (which does not have Outlook 2007) and get error "Type Library {00062FFF-0000-0000-C000-000000000046}#9.3 not found." Is there any way to compile the exe on my machine without installing Outlook 2007?
>
>>You can use Object Browser, as usual
>>
>>DEFINE CLASS myclass AS session OLEPUBLIC
>>
>>	IMPLEMENTS ApplicationEvents IN {00062FFF-0000-0000-C000-000000000046}#9.3
>>	
>>	*IMPLEMENTS ApplicationEvents IN "C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE12\MSOUTL.OLB"
>>
>>	PROCEDURE ApplicationEvents_ItemSend(Item AS VARIANT, Cancel AS LOGICAL @) AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>	PROCEDURE ApplicationEvents_NewMail() AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>	PROCEDURE ApplicationEvents_Reminder(Item AS VARIANT) AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>	PROCEDURE ApplicationEvents_OptionsPagesAdd(Pages AS VARIANT) AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>	PROCEDURE ApplicationEvents_Startup() AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>	PROCEDURE ApplicationEvents_Quit() AS VOID
>>	* add user code here
>>	ENDPROC
>>
>>ENDDEFINE
>>
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform