how to embed that HTML file in VB form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • premMS143
    New Member
    • Nov 2008
    • 75

    how to embed that HTML file in VB form?

    Hello Everybody,
    Here i'm facing one problem with VB6.0.

    I've prepared a project related to Computer Institution.
    Here, Everything is working fine.
    But now I want to add one new thing.
    The thing is;
    When a user clicks on command button in VB, it should display "Course.htm l" ( which already created in HTML) file within that VB form.

    I don't know how to embed that HTML file in VB form...?
    Could anybody help me please..

    Thanks in advance,
    Prem
    Last edited by debasisdas; Jan 22 '09, 01:52 PM. Reason: removed mail id
  • OuTCasT
    Contributor
    • Jan 2008
    • 374

    #2
    you use the WebBrowser tool and place it in your vb form. You might need to add it to your toolbox.
    You will then be able to set the url to your .html page.

    Comment

    • Keithuk
      New Member
      • Nov 2006
      • 10

      #3
      Originally posted by OuTCasT
      you use the WebBrowser tool and place it in your vb form. You might need to add it to your toolbox.
      You will then be able to set the url to your .html page.
      Or you could put the URL/HTML link in a Label. When you use passes the mouse over the Label the font could go bold, change colour or change mouse pointer so the user can see that it does something. When they click on the Label it uses the ShellExecute API call to open their default web browser which will goto that link page.

      Comment

      Working...