Results 1 to 2 of 2

Thread: Automatically save changes to an HTML page on a server

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    117
    Ok maybe this question shouldn't be here, but does anyone know how you to automatically make changes to an HTML page without manually altering the source. For example, when I post a reply on this forum it appends that to the original HTML page.

  2. #2
    Guest
    <cough>FTP</cough>

    You could probably use FTP to do it and the Webbrowser Control to upload it to a server.

    Here is an example of an FTP: InetFTP

    And use this to navigate and get the source of a page.

    Code:
    Webbrowser1.Navigate "http://www.vb-world.net"
    Text1.Text = Webbrowser1.Document.documentElement.innerHTML
    And then save it and (using the FTP example) upload it to the server.

    Code:
    Open App.Path & "\source.htm" For Output As #1
    Print #1, Text1.text
    Close #1

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