I am trying to extract the contents of a google drive file. It is a google document file. I have the code to pull the entire document, including metadata, etc. I saw the google api page concerning this: https://developers.google.com/drive/...m_google_drive
I am having trouble being able to parse the body out of what I am getting from my code. Has anyone done this? thanks, Victor.
Code:Dim request As HttpWebRequest = DirectCast(WebRequest.Create("insert google doc url here"), HttpWebRequest) Dim response As HttpWebResponse = DirectCast(request.GetResponse(), HttpWebResponse) Dim Stream As Stream = response.GetResponseStream() Dim reader As StreamReader = New StreamReader(Stream) MsgBox(reader.ReadToEnd)




Reply With Quote