Thanks Timothy,

Yes I want Sample code.....

I want to retrive all the calendar whichever I added in my
Calendar....
so that I use

string calendarALL = "http://www.google.com/calendar/feeds/default/
allcalendars/full";
by using ur code I can retrive only shared calendars and not public
calendar I added

Thanks for the Help..............

On Nov 13, 3:38 pm, "Timothy Parez" <[EMAIL PROTECTED]> wrote:
> The query above should give you a list of all your calendars
> including calendars people have shared with you.
>
> Sending a query 
> tohttp://www.google.com/calendar/feeds/default/owncalendars/full
> will give you a list of calendars owned by you.
>
> Then you can use
>
> // Create the query object:
> EventQuery query = new EventQuery();
> query.Uri = new
> Uri("http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full");
>
> // Tell the service to query:
> EventFeed calFeed = service.Query(query);
>
> For each calendar url you retreived.
> This is all documented 
> inhttp://code.google.com/apis/calendar/developers_guide_dotnet.html
>
> I'll be in the office in a few hours, if you need some sample code
> I should be able to send it to you then.
>
> Timothy.
>
> On Nov 13, 2007 10:39 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I just make a simple Windows Application to retrive all of my
> > calendars.
>
> > I write the following code
>
> > string calendarALL = "http://www.google.com/calendar/feeds/default/
> > allcalendars/full";
> > .
> > .
> > .
> > CalendarService service = new CalendarService( "CalendarSampleApp" );
> > .
> > .
> > try
> >       {
> >         EventFeed calFeed = service.Query( query  ) as EventFeed;
> > .
> > .
> > .
> >       }
> >       catch( Google.GData.Client.GDataRequestException gg )
> >       {
> >       }
>
> > My point is..   How can I retrive my all calendars ???


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to