Word 2007 / Webbrowser

  • Thread starter hanspeter.zuber
  • Start date
H

hanspeter.zuber

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top