Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening WordViewer 1

Status
Not open for further replies.

sfenx

Programmer
Feb 23, 2001
81
BE
What's the code to open a Word document using WordViewer? :cool:
 
I start the powerpoint viewer like this:

strDoc = "Sample.Doc"
strExec = strPath & "ppview32.exe /a " & strDoc
taskID = Shell(strExec, vbMaximizedFocus)

If you substitute ppview32.exe with wordview.exe, I thik it'll work. However, I haven't tried it.

Herman :-Q
 
Thanks a lot Herman, it works as you wrote.

Is there a way to make the WordViewer (or another app.) appear in my MDIform (as an MDIchild)?

Sfenx :cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top