Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implements clause, what the heck's up with it?
Message
 
 
À
13/02/2002 11:03:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00619515
Message ID:
00619522
Vues:
17
>
>IMPLEMENTS ApplicationEvents2 IN "c:\program files\microsoftoffice\office\msword9.olb"
>
>Why can't I use the TypeLib???
>

John,
It only works if you use the type library which is what the OLB file is. Word.Application refers to WinWord.Exe and the type library inforamtion is not included in it.

You can use the Type library GUID if you want to make the IMPLEMENTS portable between machines. The GUID for the Word library is
{00020905-0000-0000-C000-000000000046}
You can copy and paste it from the bottom frame of the Object Browser when you highlight the top-level node.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform