CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Posts
    14

    Saving *.mht files with VB6

    I have been working with a simple webbrowser in visual basic
    named WebBrowser1 in my form. Is there any simple and
    streight forward way to save its contents to a *.mht file. I would
    like to achive some webpages to my fixed drive. I was going
    to use the commondialog Save file selection for selection but
    I would just like to know a way to save the contents to any
    *.mht file at this time.
    Think you,
    [email protected]

  2. #2
    Join Date
    Nov 2002
    Location
    Oakville, Ontario
    Posts
    48
    Hello;

    I believe you mean *.htm files (?) web pages right?

    To be honest, I would like to know myself (sorry I don't have an answer!)...I have done it in Java using the URL class to get the contents of the page at which point I could easilly write it back to a file...If anyone out there knows how to do it in VB, do tell.

    DA

  3. #3
    Join Date
    Dec 2002
    Posts
    14

    *.mht file is what I am looking for.

    Htm and Html file extensions would be nice to know for future
    referance but what I am looking for is *.mht files. Simply because
    *mht files seem to have pictures, etc in one file. The htm and
    html files have the picture files saperate as far as I know
    of. That is the reason I am interested in the *.mht extension.
    [email protected]

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

Featured