Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETOBJECT not works?
Message
From
18/03/2001 09:47:59
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
18/03/2001 06:07:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00486277
Message ID:
00486293
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform