Can you catch the exeption thrown and look at the ResponseString
property of that exception and let us know what's in there?
Regards
Frank Mantek
Google
On Jun 13, 2008, at 9:41 AM, yong wrote:
>
> Hello.
> This is liu,I come from China,My English is not good,recently,I make
> up an VB.Net program,an Application program,I need to use Google Data
> API to get some message from Gmail.
> So I search some information from internet,and program according the
> example:
> The Source is:
>
> Dim service As New ContactsService("Test")
> service.setUserCredentials("[EMAIL PROTECTED]", "[EMAIL PROTECTED]")
>
> Dim query As ContactsQuery
> query = New
> ContactsQuery(ContactsQuery.CreateContactsUri("default"))
>
> Dim feed As ContactsFeed
> feed = service.Query(query)
>
> For Each entry As ContactEntry In feed.Entries
> Console.WriteLine(entry.Title.Text)
> For Each email As EMail In entry.Emails
> Console.WriteLine("\t" + email.Address)
> Next
> Next
>
> but run the application,then the exception happend:"Excution of
> request failed:http://www.google.com/m8/feeds/contacts/default/full"
>
> So how can I do?
> Thank,please tell me how to fix it,the better have sample.
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---