Results 1 to 2 of 2

Thread: [VB2010] Type/read from online document (GoogleDocs)

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2014
    Posts
    11

    Exclamation [VB2010] Type/read from online document (GoogleDocs)

    The idea was, to create a program that would type into GoogleDocs, and read from it, thereby creating a " chat ".
    Now, I'm not exactly how to do this, what I've tried so far, in terms of typing into it is:

    Code:
        Dim W As IO.StreamWriter
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSendMessage.Click
            W = New IO.StreamWriter("GoogleDoc Link Here")
            W.WriteLine(TxtMessage.Text)
        End Sub
    Which obviously doesn't work, as it's meant for local paths on the pc. Could you create a file that would reach this website to, create a shortcut of some sort?
    How can I do this?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: [VB2010] Type/read from online document (GoogleDocs)

    You can't just open a file on the internet and read and write it the way you can a local file. If you want to read a file on the net then you have to download it. If you want to write a file on the net then you have to upload it. Conducting a chat by uploading and downloading files is rather impractical.

Tags for this Thread

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