Results 1 to 4 of 4

Thread: chat program that will update and display a html file located on my domian's server..

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245
    I want to code using my, VB5 Enterprise edition, and make a chat program that will update and display a html file located on my domian's server.

    Does anyone have any source for this or atleast lead me in the right directions?
    (I haven't any knowlege with this but I learn fast and I am very, very eager.)

    I appreciate all of your time and effort,
    Daniel Christie
    VB 5 and 6 Enterprise Editions,
    Html, Java scipt, Vb script,
    & etc...
    http://www.qwcd.com

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Well what you would have to do is download the html file, edit it and upload it back to the webserver. Here is what it should look like:
    Code:
    With Inet1
        .Cancel
        .Protocol = icFTP
        .url = "123.123.123.123" 'ftp ip
        .UserName = "me" 'username
        .Password = "xxxx" 'password
    End With
    'load the specifi page to the textbox/edit it
    Text1.Text = Inet1.OpenURL("http://www.mysite.com/mypage.html", icString)
    Open "C:\htmldoc.html" For OutPut AS #1
        Print #1, Text1.Text
    Close #1
    'upload a file
    Inet1.Execute , "PUT C:\htmldoc.html.txt htmldoc.html"
    Inet1.Close
    Gl,
    D!m
    Dim

  3. #3

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Much appreciated...

    Is this a fairly slow process? (granted there are connection variables) but the general process, would you say it is a extremely slow process?


    I appreciate all of your time and effort,
    Daniel Christie
    VB 5 and 6 Enterprise Editions,
    Html, Java scipt, Vb script,
    & etc...
    http://www.qwcd.com

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Well yeah it could take some time...the proximate time would depend on the server connectio and size of the html file. But other than that it should be fine.

    D!m
    Dim

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