zilzar / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Visual Basic #712

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Insert Code

Dim conserv As New ContactsService("MyCompany-MyApp-v1.0")
        Dim authFactory As New GDataGAuthRequestFactory("cp","MyCompany-MyApp-v1.0")
        authFactory.AccountType = "GOOGLE"

        conserv.RequestFactory = authFactory
        conserv.setUserCredentials("username", "password")
        conserv.QueryClientLoginToken()

        Dim nc As New ContactEntry

        With nc
            .Name = New Google.GData.Extensions.Name()
            .Name.FullName = "John Davis"
            .Name.GivenName = "John"
            .Name.FamilyName = "Davis"
        End With

        Dim urifeed As New Uri(ContactsQuery.CreateContactsUri("default"))
        conserv.Insert(urifeed, nc)

2.Run Code
3.Get error of invalid credentials, I tried 3 different ways from searching on 
the internet and all fail. I dont understand. are these dlls not compatable for 
vb 2010 Express? I downloaded the featured dll for .net apps.  I didnt know 
where else to post this so i posted here. Thanks, RJ

Please use labels and text to provide additional information.

Original issue reported on code.google.com by rjs5...@gmail.com on 11 Mar 2015 at 12:41