Hello,
I am querying with the code below in Visual Web Dev. 2008 using VB:
This running on the development server and no errors or exceptions
occur. Have not run it on a production server.
Private Sub getMUMCCalendar()
Dim objEventEntry As Google.GData.Calendar.EventEntry, _
objEventFeed As Google.GData.Calendar.EventFeed, _
objEventQry As New Google.GData.Calendar.EventQuery(), _
objCalService As New Google.GData.Calendar.CalendarService
("Calendar"), _
strUserName As String = "info@<domain>.org", strPassWord
As String = "<password>", _
strGDataURI As String = "http://www.google.com/calendar/
feeds/default/private/full"
objCalService.setUserCredentials(strUserName, strPassWord)
objEventQry.Uri = New Uri(strGDataURI)
objEventQry.StartDate = DateTime.Now
objEventQry.EndDate = DateTime.Now.AddDays(90)
objEventFeed = objCalService.Query(objEventQry)
TextBox1.Text = objEventFeed.Entries.Count.ToString
End Sub
The procedure getMUMCCalendar is called on Page_Load.
objEventFeed.Entries.Count is always 0 even though there are multiple
events for the period, including recurring all-day events and regular
events.
TIA for any help.
Jon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---