logo       

Re: Deleting events .NET: msg#00215

org.google.api.calendar

Subject: Re: Deleting events .NET

>From the top of my head... Events in the calendar do not get deleted when you delete them, they get their status changed to "cancelled". Hence, you will still see them in the feed, but you need to check out the eventstatus.

There is a delay between feed actions and UI propagation, although it should not be 10min. That kind of suprised me.

Frank Mantek

On 9/24/06, Dexterr <dexterreh@xxxxxxxx> wrote:

I'm trying to delete single events, but I'm having problems. This is
what I do:

1) I send a FeedQuery.Query to Google
2) Retrieve the events
    Dim myResultsFeed As AtomFeed = myService.Query(myQuery)
3) Take first event (for example)
    Dim firstMatchEntry As AtomEntry = myResultsFeed.Entries(0)
4) Delete it
   firstMatchEntry.Delete()


It is done with no problems. But when I go to my calendar, I can still
see it on there. Why it is not deleted?

After ten minutes, it seems to be deleted from my calendar. But when I
execute my code again, the firstMatchEntry is again that event!!! So
when I try to delete it, of course, I get an error.

How can I delete events forever? Is there a solution to clean a
calendar, I mean, delete all events in a calendar?

Thanks.



--~--~---------~--~----~------------~-------~--~----~
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 google-calendar-help-dataapi@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to google-calendar-help-dataapi-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise