Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
QuestionHow to find out, if the toolbar icon or the notifyicon is clicked Pin
Member 1191673515-Jun-16 19:26
Member 1191673515-Jun-16 19:26 
AnswerRe: How to find out, if the toolbar icon or the notifyicon is clicked Pin
OriginalGriff15-Jun-16 20:22
mveOriginalGriff15-Jun-16 20:22 
GeneralRe: How to find out, if the toolbar icon or the notifyicon is clicked Pin
Member 1191673515-Jun-16 22:50
Member 1191673515-Jun-16 22:50 
GeneralRe: How to find out, if the toolbar icon or the notifyicon is clicked Pin
OriginalGriff15-Jun-16 22:53
mveOriginalGriff15-Jun-16 22:53 
QuestionAccess Gmail contacts through C # Pin
Member 1253942914-Jun-16 14:42
Member 1253942914-Jun-16 14:42 
AnswerRe: Access Gmail contacts through C # Pin
BillWoodruff14-Jun-16 16:16
professionalBillWoodruff14-Jun-16 16:16 
AnswerRe: Access Gmail contacts through C # Pin
K Ashok 14-Jun-16 20:01
professionalK Ashok 14-Jun-16 20:01 
AnswerRe: Access Gmail contacts through C # Pin
Pete O'Hanlon14-Jun-16 21:04
mvePete O'Hanlon14-Jun-16 21:04 
When you get an error in your code and post a question about it, it would be helpful if you actually said what the error was. I'm going to go out on a limb and suggest that the exception you see on your first foreach line is that you have an "Object reference not set to an instance of an object" exception. You will see this if the call that is responsible for creating the object (i.e., your call to GetContacts) returns a null value. To be honest, this sounds to me like your RequestSettings are inaccurate or you have something like a Firewall preventing you accessing Google from your app.

I will add that we consider it rude to put "urgent" in a question. It's only urgent for you; you aren't paying us anything for our time and we're all volunteers so it's at our discretion when we answer your question.
This space for rent

GeneralRe: Access Gmail contacts through C # Pin
Member 1253942924-Jun-16 1:52
Member 1253942924-Jun-16 1:52 
NewsIcon c# library Pin
Matthew Hazlett14-Jun-16 10:37
Matthew Hazlett14-Jun-16 10:37 
GeneralWrong forum Pin
Richard Deeming14-Jun-16 11:18
mveRichard Deeming14-Jun-16 11:18 
GeneralRe: Icon c# library Pin
BillWoodruff14-Jun-16 16:06
professionalBillWoodruff14-Jun-16 16:06 
Questionhow to create three moving cars from different directions meeting at the junction Pin
Member 1252666814-Jun-16 5:22
Member 1252666814-Jun-16 5:22 
AnswerRe: how to create three moving cars from different directions meeting at the junction Pin
Simon_Whale14-Jun-16 5:30
Simon_Whale14-Jun-16 5:30 
AnswerRe: how to create three moving cars from different directions meeting at the junction PinPopular
OriginalGriff14-Jun-16 6:19
mveOriginalGriff14-Jun-16 6:19 
GeneralRe: how to create three moving cars from different directions meeting at the junction Pin
Kenneth Haugland14-Jun-16 6:52
mvaKenneth Haugland14-Jun-16 6:52 
GeneralRe: how to create three moving cars from different directions meeting at the junction Pin
OriginalGriff14-Jun-16 8:14
mveOriginalGriff14-Jun-16 8:14 
GeneralRe: how to create three moving cars from different directions meeting at the junction Pin
Kenneth Haugland14-Jun-16 8:30
mvaKenneth Haugland14-Jun-16 8:30 
GeneralRe: how to create three moving cars from different directions meeting at the junction Pin
OriginalGriff14-Jun-16 8:47
mveOriginalGriff14-Jun-16 8:47 
AnswerRe: how to create three moving cars from different directions meeting at the junction Pin
Pete O'Hanlon14-Jun-16 6:23
mvePete O'Hanlon14-Jun-16 6:23 
AnswerRe: how to create three moving cars from different directions meeting at the junction Pin
Matthew Hazlett15-Jun-16 9:58
Matthew Hazlett15-Jun-16 9:58 
QuestionError in listing open windows Pin
srikrishnathanthri13-Jun-16 20:08
srikrishnathanthri13-Jun-16 20:08 
AnswerRe: Error in listing open windows Pin
Richard MacCutchan13-Jun-16 21:03
mveRichard MacCutchan13-Jun-16 21:03 
GeneralRe: Error in listing open windows Pin
srikrishnathanthri13-Jun-16 23:49
srikrishnathanthri13-Jun-16 23:49 
GeneralRe: Error in listing open windows Pin
Pete O'Hanlon14-Jun-16 0:37
mvePete O'Hanlon14-Jun-16 0:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.