oPEN htmL FILE USING Visual Basic 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarkTingson
    New Member
    • Nov 2007
    • 40

    oPEN htmL FILE USING Visual Basic 6

    Hello,

    Can anyone here tell me how to open a html file using VB6???

    Thanks in advance..
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Originally posted by MarkTingson
    Hello,

    Can anyone here tell me how to open a html file using VB6???

    Thanks in advance..
    [CODE=vb] Shell "Explorer " & App.Path & "\Sample.ht ml", vbMaximizedFocu s[/CODE]

    Comment

    • MarkTingson
      New Member
      • Nov 2007
      • 40

      #3
      Thanks sir!! it run!!

      Comment

      • lotus18
        Contributor
        • Nov 2007
        • 865

        #4
        Originally posted by MarkTingson
        Thanks sir!! it run!!
        You're welcome : )


        Rey Sean

        Comment

        • girishnair12345
          New Member
          • Nov 2011
          • 1

          #5
          Hi, I have an HTML file and i need to open it with the default browser of the user

          What i mean is when user clicks the button the HTML file in the current directory should open using the users default browser

          I need the code to run in VB6 and NOT in .NET

          please help!!!

          Comment

          Working...