On Fri, Feb 27, 2009 at 12:52 PM, Blondy <[email protected]> wrote: > > I use this Sub to retrieve all EventEntry's from a calendar > > Public Function GetAllCalendarEvents(ByVal calEntry As CalendarEntry) > As List(Of EventEntry) > Dim listEvents As New List(Of EventEntry) > Dim query As New EventQuery > Dim calFeed As EventFeed > > > Try > 'Login on the Google Service > Connect() ' Connects with > calendarService.setUserCredentials("***","****") > > query.Uri = New Uri(calEntry.Id.AbsoluteUri.Replace > ("default/allcalendars/full/", "") + _ > "/private/full") > > > calFeed = _MyService.Query(query) > > > For Each objEvent As EventEntry In calFeed.Entries > > listEvents.Add(objEvent) > > Next > > > Catch gex As GDataRequestException > MessageBox.Show(gex.ToString) > Catch ex As Exception > MessageBox.Show(ex.ToString) > End Try > > > Return listEvents > > > End Function > > > So i give a calendarEntry as a parameter, so it can return all > EventEntry's from that calendar and put that into a List
I'm not seeing where you're calling UpdateCalendarEvent() there. I'm not able to help debug this if I can't make a positive connection between where your data is coming from and what you're doing with it. Perhaps you write a small sample program that demonstrates this behavior and post it for us? -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 [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-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
