Results 1 to 4 of 4

Thread: control values to html?

  1. #1

    Thread Starter
    Lively Member jonvantuyl's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    75

    Angry

    i was wondering if anybody knew how to take text boxes and then output them to a html file in a pre-positioned area on the HTML Page?

  2. #2
    Guest
    Code:
    Open "C:\MyHTML.htm" For Output As #1
    Print #1, Text1.text
    Close #1

  3. #3

    Thread Starter
    Lively Member jonvantuyl's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    75

    Smile

    Thanks, that worked great, would you by any chance know how i could make it rename to say text1.text, and format the data in a table on the HTML page?

  4. #4
    Guest
    To load the saved html file:

    Code:
    Open "C:\MyHTML.htm" For Input As #1 
    Text1.Text = Input$(LOF(1), 1) 
    Close #1
    And then you can use the code above to re-save it.

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