Help on the WebBrowser1.Navigate() function

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small
Public
<span style="font-size:x-small <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Class<span style="font-size:x-small Form1<span style="font-size:x-small

<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Hi- I have a requirement where I need to get at the information that is opened and put on the screen from the below browser code that was on the MSDN web site as
an example. My requirement is to navigate to a text file on a web site. When I select that text file(.txt), the following code puts it in text box on the screen. I would like to get that text as a string. Probably a simple task-Hopefully Thanks
Private<span style="font-size:x-small <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Sub<span style="font-size:x-small Button1_Click(<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small ByVal<span style="font-size:x-small
sender <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small As<span style="font-size:x-small System.Object,
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small ByVal<span style="font-size:x-small e
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small As<span style="font-size:x-small System.EventArgs)
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Handles<span style="font-size:x-small Button1.Click<span style="font-size:x-small
WebBrowser1.Navigate(
<span style="color:#a31515; font-size:x-small <span style="color:#a31515; font-size:x-small "http://somewebpage.com/pages/99903a.html"<span style="font-size:x-small )<a> <span style="font-size:x-small

<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small End<span style="font-size:x-small
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Sub<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small <span style="font-size:x-small

<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Private<span style="font-size:x-small
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Sub<span style="font-size:x-small TextBox1_TextChanged(<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small ByVal<span style="font-size:x-small
sender <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small As<span style="font-size:x-small System.Object,
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small ByVal<span style="font-size:x-small e
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small As<span style="font-size:x-small System.EventArgs)
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Handles<span style="font-size:x-small TextBox1.TextChanged<span style="font-size:x-small

<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small End<span style="font-size:x-small
<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Sub<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small
End
<span style="font-size:x-small <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small Class<span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small






<
jerry
<br/>

View the full article
 

Similar threads

Back
Top