Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Output to MS-WORD
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00057020
Message ID:
00057050
Views:
27
>>Thanks mucho Eric!
>>Any suggestions on where to find doc on this stuff?
>>- brett
>>
>>>>I want to start MS-WORD and have it load a report created by
>>>>VFP while within VFP. I do not want to create an OLE object
>>>>on the form, just to call WORD with something like:
>>>>Wordobject=createobject("Word.Basic")
>>>>Wordobject.FileOpen("filename.txt")
>>>>
>>>>This works but the window is not diplayed. If I could display the window so the user can then edit the word file without leaving VFP, that's the ticket.
>>>>
>>>>This has gotta be easy, but I cannot find any doc on it.
>>>>Thanks,
>>>>brett
>>>
>>>Add this line:
>>>wordobject.appshow
>
>There are a few articles in the MS Knowledge base. Go there and search OLE Automation

Brett
If you have Word 97 you can do the following to get a list of all objects in word.
1 start word
2 select tools from menu
3 select macro
4 select visual basic editor
5 from menu select view
6 select object browser

hopes this helps
Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform