Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: NUnit test framework Pin
jschell4-Apr-13 9:15
jschell4-Apr-13 9:15 
Questionuse a class methode that implements and interface from another class Pin
tux@ddictor3-Apr-13 7:49
tux@ddictor3-Apr-13 7:49 
AnswerRe: use a class methode that implements and interface from another class Pin
tux@ddictor3-Apr-13 7:53
tux@ddictor3-Apr-13 7:53 
QuestionC# Pin
sanjugen3-Apr-13 0:07
sanjugen3-Apr-13 0:07 
AnswerRe: C# Pin
cursore843-Apr-13 0:31
cursore843-Apr-13 0:31 
AnswerRe: C# Pin
Simon_Whale3-Apr-13 0:58
Simon_Whale3-Apr-13 0:58 
AnswerRe: C# Pin
Abhinav S3-Apr-13 3:13
Abhinav S3-Apr-13 3:13 
Questiongoogle calendar api .net Pin
cursore842-Apr-13 23:06
cursore842-Apr-13 23:06 
I'm using google api 2.0 for .net. I use this code to create a new calendar:

C#
CalendarEntry calendar = new CalendarEntry();
calendar.Title.Text = "Little League Schedule";
calendar.Summary.Text = "This calendar contains the practice schedule and game times.";
calendar.TimeZone =  "America/Los_Angeles";
calendar.Hidden = false;
calendar.Color = "#2952A3";
calendar.Location = new Where("", "", "Oakland");

Uri postUri = new Uri("https://www.google.com/calendar/feeds/default/owncalendars/full");
CalendarEntry createdCalendar = (CalendarEntry) service.Insert(postUri, calendar);


but, on execution, return the error:

Execution of request failed

at the line

CalendarEntry createdCalendar = (CalendarEntry) service.Insert(postUri, calendar);

However, if I connect to google calendar with the browser, the new calendar is created.

Also, I use this code to retriving all calendars and it's works

C#
CalendarQuery query = new CalendarQuery();
query.Uri = new Uri("https://www.google.com/calendar/feeds/default/allcalendars/full");
CalendarFeed resultFeed = (CalendarFeed) service.Query(query);

Any suggestions?? Thanks
QuestionRe: google calendar api .net Pin
Eddy Vluggen3-Apr-13 6:57
professionalEddy Vluggen3-Apr-13 6:57 
AnswerRe: google calendar api .net Pin
cursore843-Apr-13 7:34
cursore843-Apr-13 7:34 
AnswerRe: google calendar api .net Pin
Eddy Vluggen3-Apr-13 8:40
professionalEddy Vluggen3-Apr-13 8:40 
GeneralRe: google calendar api .net Pin
cursore843-Apr-13 9:30
cursore843-Apr-13 9:30 
GeneralRe: google calendar api .net Pin
Eddy Vluggen3-Apr-13 22:41
professionalEddy Vluggen3-Apr-13 22:41 
QuestionImpoting Dataview to Doc Pin
vpasuleti2-Apr-13 20:29
vpasuleti2-Apr-13 20:29 
AnswerRe: Impoting Dataview to Doc Pin
Richard MacCutchan2-Apr-13 22:03
mveRichard MacCutchan2-Apr-13 22:03 
AnswerRe: Impoting Dataview to Doc Pin
Abhinav S3-Apr-13 3:16
Abhinav S3-Apr-13 3:16 
Questionobject reference not set to an instance of an object Pin
surya 20132-Apr-13 18:50
surya 20132-Apr-13 18:50 
AnswerRe: object reference not set to an instance of an object Pin
Chinmaya C2-Apr-13 19:24
Chinmaya C2-Apr-13 19:24 
QuestionRe: object reference not set to an instance of an object Pin
surya 20132-Apr-13 22:31
surya 20132-Apr-13 22:31 
AnswerRe: object reference not set to an instance of an object Pin
Chinmaya C2-Apr-13 22:42
Chinmaya C2-Apr-13 22:42 
GeneralRe: object reference not set to an instance of an object Pin
surya 20133-Apr-13 3:05
surya 20133-Apr-13 3:05 
GeneralRe: object reference not set to an instance of an object Pin
Chinmaya C3-Apr-13 18:03
Chinmaya C3-Apr-13 18:03 
GeneralRe: object reference not set to an instance of an object Pin
surya 20133-Apr-13 18:39
surya 20133-Apr-13 18:39 
AnswerRe: object reference not set to an instance of an object Pin
Simon_Whale3-Apr-13 3:17
Simon_Whale3-Apr-13 3:17 
AnswerRe: object reference not set to an instance of an object Pin
Pete O'Hanlon3-Apr-13 6:54
mvePete O'Hanlon3-Apr-13 6:54 

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.