Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dde or ole?
Message
From
31/08/1999 15:43:55
 
 
To
31/08/1999 13:25:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00259765
Message ID:
00259853
Views:
12
>experimenting with calling up a Word document from
>a form. have a general field with an inserted object
>(word document in it). This works ok, but word comes
>up minimized. Also, where or how do I add the code
>to run word macros on the document that is opened.
>
>experimented with a command button to use
>createobject("word.basic") and then
>the .FileOpen("file") I hear disk activity as if
>it's doing it, but i never see Word or the file I
>want. Which is the best way to do it?
>
>in 2.6 I used DDE commands which worked well.(?)

ActiveX Automation (formerly called OLE) is definately the way to go. Also, you should use VBA instead of WordBasic.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform