Do you get an error code when you insert your event? It would also help if you give the correct times/flags you are setting (like is it allday? what is start/enttime?).
I know that code like this does work, so it must be the values you are sending, at least that is my working theory.
Frank Mantek
On 9/28/06, Alex <alexanderharvey@xxxxxxxxx> wrote:
I've taken this code straight from the sample and have noticed that
when I insert an event that includes a When then the event does not
show up in my calendar. However, if I leave the When of the event
emptry (null) then Google calendar defaults the event to the current
time and the event is displayed in the calendar. What am I doing wrong?
Sample code:
When newTime = new When();
newTime.StartTime = startTime;
newTime.EndTime = endTime;
newTime.AllDay = fAllDay;
entry.Times.Add(newTime);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group.
To post to this group, send email to google-calendar-help-dataapi@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to google-calendar-help-dataapi-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---