Word Document in WebBrowser

T

Thomas

I developed an Activex Control in Visual Basic 6.0. The
activex contained a WebBrowser Control and an Internet
Transfer Control . The activex is used to allow the
internet users to browse the word documents.

This activex is included inside an ASP page using OBJECT
tag. The Internet Transfer Control will get the file from
the server to the client machine. Then using
the ‘WEBBROWSER.Navigate’ method, the document is opened
inside the Web Browser Control. There is also a facility
to move between documents without closing the Activex.

When the page is taken in an XP machine with Office XP
installed some error occurs. The document loads
successfully in the ActiveX, for the first time. But when
we try to open another document in the ActiveX window, the
new requested document is not loading inside Web Browser
Control and IE stops responding, even though the document
is available at the client machine.

Before loading the second document, we call
the statement ‘Webbrowser.Navigate "about:blank"’, as per
the instruction in the Microsoft site
(http://support.microsoft.com/?kbid=243058). If we remove
the statement ‘Webbrowser.Navigate "about:blank"’,
everything work fine in this XP machine. (But, we can not
do this, since removing the statement causes problems in
other machines. see:- http://support.microsoft.com/?
kbid=243058)

Can you please suggest me a suitable solution for this?
 

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