Hi, After your code, you would need to capture an exception when you do an operation, for example getFeed(), for more information on InvalidCredentialsException see:
Java: http://code.google.com/apis/gdata/javadoc/com/google/gdata/client/GoogleService.InvalidCredentialsException.html C#: http://google-gdata.googlecode.com/svn/docs/folder18/T_Google_GData_Client_InvalidCredentialsException.htm -Julian On Apr 13, 11:12 pm, "[email protected]" <[email protected]> wrote: > Hi all, > I'm new to coding these types of programs but trying to learn. My > question is when I use ClientLogin to attempt to log in, how do I show > the user if they enter the wrong user ID and/or password? Basically > just want to pop up a message box saying "User ID and/or password > incorrect". Below is the code I'm using Thanks! > > GContact = new ContactsService("GContacts"); > GContact.setUserCredentials(userIDBox.Text, passWordBox.Text); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" 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-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
