473,396 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Webbrowser page displayed only once

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
Nov 20 '05 #1
3 1608
to be more precise, I discovered that if the selected url is "http://msdn.microsoft.com/rss.xml", it displays correctly each time (xml page) and then liberates other urls.
Nov 20 '05 #2
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
Nov 20 '05 #3
* =?Utf-8?B?T2xpdmllci9Ob2V0aWth?= <ms**@noetika.com> scripsit:
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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BKM | last post by:
I've been using the following 2 ways to make sure my WebBrowser is finished loading a page before continuing with the next code. do:doevents:loop while WebBrowser.Busy do:doevents:loop until...
5
by: Prabhat Nath | last post by:
Hi All, Is that possible that I can send request to IIS Server after a .ASP page is displayed? My Requirement is: Clinet will Fill the Details in one Request Form after the details are...
4
by: Lex | last post by:
I want to reload a page only once. Therefor meta refresh is not suitable, because then it refreshes every x seconds. Is there a possibility to refresh only once? regards, Lex Ouburg
0
by: Don Tucker | last post by:
I am attempting to load a web page and display its HTML contents into a text box on a Windows Application Form using the WebBrowser control in Visual Studio 2005. On my form, I have a button, and...
3
by: Tatyana | last post by:
Hello, I was wondering if anybody knows how to disable Email Sending on Page Refresh. When shopper submits the order he/she is being redirected to the receipt page and gets the email...
1
by: Manfred | last post by:
Hello I have a Webbrowser Control on my mainform. When the Webbrowser is loading a webpage it may take some time and the application waits upon completion. How can I load this page in the...
2
by: ankitmathur | last post by:
Hi Fellow Members, I want to know if HTML provides any way of refreshing a page only once automatically. My requirement is to refresh a page automatically only once after 2 minutes to display...
13
by: Jon86 | last post by:
Hi All , Any one please help me in getting a title of a page displayed in webbrowser control in c# .The title needs to be displayed in lable in a windows form which has this webcontrol intit.I tried...
8
by: =?Utf-8?B?UGF1bCBT?= | last post by:
Hi How can I programmatically save an image from a page locally? The same as right-click the image and select 'Save as' Tanks Paul S
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.