Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETOBJECT not works?
Message
De
18/03/2001 09:47:59
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
18/03/2001 06:07:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00486277
Message ID:
00486293
Vues:
11
Power,

Try:
MDOCFILE = CREATEOBJECT("Word.Application")
MDOCFILE.Documents.Add('C:\WRDPROC\MYDOC.DOC')
MDOCFILE.Visible = .T.
>I have tried to put this inside a button
>MDOCFILE = GETOBJECT('C:\WRDPROC\MYDOC.DOC')
>or
>MBUDVAR = GETOBJECT('C:\Excel\aaa.XLS')
>and then run it.
>I got nothing happened on my screen. A short period of the loading symbol "sand watch" then nothing. What should I do to open an OLE automation object in its application like Excel or Word?
>
>Power
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform