Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dde or ole?
Message
From
31/08/1999 13:58:34
 
 
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:
00259787
Views:
14
>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.(?)

One vote for OLE. Its much easier to deal with Word as on object. You could then copy macros out of VB and implement them in a wrapper class to do your word processing.
Previous
Reply
Map
View

Click here to load this message in the networking platform