Hi, I am not exactly sure what you are trying to do, but it seems like you are trying to query using the allcalendar feed - which you actually cannot query against. You can only retrieve allcalendar as it is without fulltext query parameter.
Remember there are two types of feeds calendar - 1) calendar feed http://www.google.com/calendar/feeds/allcalendar/full or http://www.google.com/calendar/feeds/owncalendar/full 2) event feed http://www.google.com/calendar/feeds/[CAL_ID]/private/full On Fri, Sep 5, 2008 at 1:55 PM, g.apps <[EMAIL PROTECTED]> wrote: > > I am attempting to create a small web applet that allows users to view > their calendars on a start page portal. This feature currently works > beautifully for the primary calendar, but when I attempt to adjust the > code to handle secondary and public calendars, I get the following > error: > > Compiler Error Message: CS0246: The type or namespace name > 'CalendarFeed' could not be found (are you missing a using directive > or an assembly reference?) > > Using .NET C# > > Even if I create a brand new page and use the example code with my own > User Credentials added, I still get the above error message. I > suspect I am not loading the library or assembly, but I have: > > using Google.GData.Calendar; > using Google.GData.Client; > using Google.GData.Extensions; > > in the appropriate place and later: > > // Create a CalenderService and authenticate > CalendarService myService = new CalendarService("TOAST-Calendar"); > myService.setUserCredentials("USERNAME", "PASSWORD"); > > CalendarQuery query = new CalendarQuery(); > query.Uri = new Uri("http://www.google.com/calendar/feeds/default/ > allcalendars/full<http://www.google.com/calendar/feeds/default/allcalendars/full> > "); > CalendarFeed resultFeed = service.Query(query); > Console.WriteLine("Your calendars:\n"); > foreach (CalendarEntry entry in resultFeed.Entries) > { > Console.WriteLine(entry.Title.Text + "\n"); > } > > > My apologies if I am missing something obvious. I am not an expert by > any stretch. Any help or a point in the right direction is greatly > appretiated. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
