Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole/Word Automation - In-place activation.
Message
From
09/05/2001 10:59:01
 
 
To
08/05/2001 18:49:16
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00505062
Message ID:
00505306
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform