Web Browser Control Won't Refresh. Help!

D

David Hearn

I have a tab control on one of my forms that acts as sort of an editor for a
web page. On one tab, I have some fields to fill out. The user fills in the
forms, the changes are saved to a database, and the web page reads the
database and changes based on the info in the database. I have given the
user a second tab that holds a web browser control and acts as a preview so
that the user can immediately see his/her changes. I call
AXWebBrowser1.Navigate(URL) and AXWebBrowser1.Refresh everytime that the
second tab is clicked but the browser control will not refresh. It still
shows the old settings. If I navigate to the page externally using IE or
Netscape, it shows the changes so I know my database routines are working.
Also, if I unload the form and then open it again and immediately go to the
preview tab, it will show my chages. How can I force the control to update?

Thanks in advance!
 

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