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
On 26 feb, 20:03, Trevor Johns <[email protected]> wrote:
> On Thu, Feb 26, 2009 at 11:02 AM, Trevor Johns <[email protected]> wrote:
> > Blondy,
> > Where are you getting UpdateCalendarEvent() from? I suspect that it
> > might be coming from an unauthenticated request or a request made
> > against the public feed.
>
> Excuse me, I meant to say:
>
> Where are you getting *the data for* UpdateCalendarEvent() from?
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---