WebBrowser

P

PeterM

I have a form with a WebBrowser control on it. My users selected a file from
a listbox on the same form and I generate an email based on the form they
select from the listbox. The emails they can choose from are all Office
Template emails (.oft).

I'm trying to get the WebBrowser on the form to display the file, kinda like
a preview so they can verify they are sending the correct email.

I can get the WebBrowser to display a Word, Excel, PowerPoint, etc. file in
the WebBrowser by issuing a WebBrowser.navigate .... or
Application.FollowHyperline... statement. However, when the file being
displayed is an .oft, it opens the email in a new window, not in the browser.
Is there a way to open .oft files in a WebBrowser only? If not, is there
another type of control I can preview the .oft file in?

thanks in advance for your help!
 

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