Webbrowser page displayed only once

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Inside my application, I have a form that is composed with a listview and a webbrowser. The webbrowser display the focused url contained in the list view. The problem is that this works the first time, that's to say when I call the form just after launching the application, but if I hide the form (me.hide) and show it again (form.showdialog) the webbrowsercontrol stays blank. I tried to put only a direct url like webbrowser.navigate("http://www.google.com") but the result is the same, google page is displayed at first launch but not during the others. It seems anyway that the url is accessed as I can see some computer activity after each selection

Thanks
 
Hi Oliver,

First an advice, never answer your own message with another name, than
people thinks that there is an answer.

Your problem sounds strange.
me.hide means normally hidding the form from the class
showdialog means showing a kind of a child form from that class

I think you better shows a piece of the code where you do that (not all) and
please paste it first in a notebook and copy it there and paste it than in
the message, otherwise it is almost complete unreadable when we get it.

Cor
 
* =?Utf-8?B?T2xpdmllci9Ob2V0aWth?= said:
Inside my application, I have a form that is composed with a listview
and a webbrowser. The webbrowser display the focused url contained in
the list view. The problem is that this works the first time, that's to
say when I call the form just after launching the application, but if I
hide the form (me.hide) and show it again (form.showdialog) the
webbrowsercontrol stays blank. I tried to put only a direct url like
webbrowser.navigate("http://www.google.com") but the result is the same,
google page is displayed at first launch but not during the others. It
seems anyway that the url is accessed as I can see some computer
activity after each selection

Does that even occur in a "blank" project with a WebBrowser control?
 
Back
Top