Word 2007 / Webbrowser

Word 2007 / Webbrowser

Post by hanspeter. » Tue, 06 Feb 2007 17:44:52


Hello
I wanted to ask if someone else have experienced similar behaviour
with showing a word document in the webbrowser component and what one
can do to solve this problem.

On a system with Office 2003 (and earlier version) i can open the word
document in the webbrowser and it will be shown inside the webbrowser
but when i open the document on a system with Office 2007 the document
won't be displayed inside the webbrowser. Somehow the document creates
an own Frame / Dialog which will pop in the front of the calling
dialog.

Are there any properties that i can use so that the frame wont appear
and that the document will be shown insede the browser component as in
the earlier versions of office?

The application is written in VB6. Here an extract from my test code
to show this behaviour:

Private Sub Command1_Click()
Dim filename As String
CommonDialog1.ShowOpen
filename = CommonDialog1.filename
WebBrowser1.Navigate2 (filename)
End Sub

Any help / suggestion would be appreciated.
pete
 
 
 

Word 2007 / Webbrowser

Post by hanspeter. » Wed, 07 Feb 2007 15:52:46

For all those who are interested in a solution i finally found a blog:
http://www.yqcomputer.com/