Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole/Word Automation - In-place activation.
Message
De
09/05/2001 10:59:01
 
 
À
08/05/2001 18:49:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00505062
Message ID:
00505306
Vues:
23
Oops! Seems that part of the code sample didn't appear.

Here comes the rest of it:
 Add Object oleObject as OLEControl   with Top          =   1 , ;
                                           Left         =   4 , ;
                                           Height       = 240 , ;
                                           Width        = 775 , ;
                                           OleClass     = "Word.Document"    , ;
                                           DocumentFile = "C:\TEMP\TESTE.DOC", ;
                                           AutoSize     = .F.
                                           AutoActivate = 0

 Procedure cmdQuit.Click
*          ------- -----
           ThisForm.Release
 EndProc
 
 Procedure Activate
*          --------
 EndProc

 Procedure Init
*          ----
 EndProc

 Procedure QueryUnload
*          -----------
           This.cmdQuit.Click
           NoDefault
           Return .T.
 EndProc

EndDefine
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform