Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewing Word documents from VFP
Message
From
02/06/2000 12:38:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Viewing Word documents from VFP
Miscellaneous
Thread ID:
00376075
Message ID:
00376075
Views:
125
I have a simple(?) requirement to be able to view, but not edit, multipage Word documents from FoxPro.

It appears that embedding the documents in a General field and making them accessible via read only control results in only being able to see the first page (i.e. there is no ability to scroll or PgUp/PgDn)

Executing via code e.g.
ox=createobject('word.document')
ox.application.documents.open('word.doc')
ox.application.visible=.t.
ox.application.activedocument.printpreview

appears promising but it still results in the user having access to the complete Word interface & menu structure which I do not want.

All I want is to be able to view the whole document - but not change it and not present the user with extraneous menu pads etc.

Can anyone point me in the right direction.
TIA
Sam Robbins BCRTC
Next
Reply
Map
View

Click here to load this message in the networking platform