Results 1 to 4 of 4

Thread: How can i navigate the HTML pages that i have called into my vb.net application?

  1. #1
    Join Date
    Feb 2009
    Posts
    8

    How can i navigate the HTML pages that i have called into my vb.net application?

    Hi,
    I got the HTML pages to my project but now I have another question!
    How can I navigate the HTML pages that i have called into my vb.net application?

  2. #2
    Join Date
    May 2008
    Posts
    63

    Re: How can i navigate the HTML pages that i have called into my vb.net application?

    There is a WebBrowser control in .NET that you can use to interact with HTML page.
    Just tell the control to navigate to a web page (or url). The control have properties and method that allow you to interact with the HTML Document Object Model (DOM)

  3. #3
    Join Date
    May 2008
    Posts
    72

    Re: How can i navigate the HTML pages that i have called into my vb.net application?

    If you have a form with a WebBrowser and a textbox as your address bar, the following would take you to DIC

    Code:
    Me.WebBrowser1.Navigate("http://www.techarena.com")
    If it was placed in a buttons click event

    Suppose you had a form with three controls: a button (Button1), a textbox (TextBox1), and a web browser control (WebBrowser1).

    If you want to browse your own URLs in the browser at run-time you could make the button, textbox and web control. The user enters the URL into the textbox and clicks the button to "go" (navigate) to that webpage.

    The code for the entire program would look like this:

    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Navigate(TextBox1.Text)
        End Sub
    End Class
    No code would really go into the textbox or the web control... simply in the button.

    Under the button click action i have placed the code:

    Code:
    WebBrowser1.Navigate(TextBox1.Text)

  4. #4
    Join Date
    May 2008
    Posts
    115

    Re: How can i navigate the HTML pages that i have called into my vb.net application?

    I think you need to go through this tutorial to understand the concept of

    http://msdn.microsoft.com/en-us/library/2te2y1x6.aspx

    Hope this helps you!

Similar Threads

  1. How can I upload my html pages using filezilla
    By lovecraft in forum Technology & Internet
    Replies: 1
    Last Post: 24-03-2012, 04:37 PM
  2. how SSI technique use in html pages
    By Bansi_WADIA in forum Software Development
    Replies: 4
    Last Post: 28-01-2010, 03:11 AM
  3. How to add links to other pages in HTML
    By Camdean in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 03:41 PM
  4. How to convert htm (or html) pages into PDF documents ?
    By EricTheRed in forum Tips & Tweaks
    Replies: 0
    Last Post: 17-03-2009, 05:21 PM
  5. How to retrieve Response from HTML and PHP pages
    By Sachit in forum Software Development
    Replies: 2
    Last Post: 02-02-2009, 12:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,937,785.16844 seconds with 16 queries