Results 1 to 5 of 5

Thread: html file into form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    n.ireland, UK
    Posts
    157

    html file into form

    How would I enable a html file into a form?

  2. #2
    Hyperactive Member -=XQ=-'s Avatar
    Join Date
    Mar 2002
    Location
    Liverpool, England, UK
    Posts
    278
    You could use the webbrowser control....... project > components > internet tools......... i think
    See ya later,

    -=XQ=-

    "Reality is merely an illusion, albeit a very persistent one. "
    - Albert Einstein (1879-1955)
    This is the coolest site ever!!!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    n.ireland, UK
    Posts
    157
    I've brought up the internet control and have the blah.html file in the same directory as the program, anyone know why this ain't workin?
    VB Code:
    1. Private Sub Form_Activate()
    2.     WebBrowser1.Navigate ("blah.html")
    3. End Sub

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    try specifying the whole path like
    app.path & "\blah.html"
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    n.ireland, UK
    Posts
    157
    doh, thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width