Thanks Chad, I'll try that code out when I get back to that project shortly. Looks like something I'm already doing, but your use of the XPathDocument and a few other things might get me the response without the errors I'm currently recieving.
On Jun 24, 12:48 pm, Chad Killingsworth <[email protected]> wrote: > Here's a C# Example: > > HttpWebRequest DirectionsRequest = WebRequest.Create(GoogleMapsUrl) as > HttpWebRequest; > using (HttpWebResponse DirectionsResponse = > DirectionsRequest.GetResponse() as HttpWebResponse) > using (System.IO.StreamReader DirectionsResponseStream = new > System.IO.StreamReader(DirectionsResponse.GetResponseStream(), > System.Text.Encoding.UTF8)) > { > System.Xml.XPath.XPathDocument = new > System.Xml.XPath.XPathDocument(DirectionsResponseStream); > //Use XML Here > > } > > Chad Killingsworth > > On Jun 24, 11:12 am, Kyle <[email protected]> wrote: > > > > > I've added error handling to the Javascript version thanks to your > > example. All is good, just a slow process, I'm just having issues with > > replicating the logic on the server side VB. There's no good > > documentation out there for the WebRequest functionality (VB or C# > > with XML)- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
