Hi,

I see, try placing debug statement between the Delete() call to see if
it is actually being invoked.  You can also try adding logging
mechanism to your .NET client library.  For more information please go
to this page on how to set up logging -

http://code.google.com/support/bin/answer.py?answer=70891&topic=12359#dotnet

Hope it helps,
Austin

On Thu, Apr 3, 2008 at 1:19 AM, CC13 <[EMAIL PROTECTED]> wrote:
>
>  Hi all,
>
>  i write a C# Tool, to push my Events to my Google-Calender.
>
>  My tool start to look for possible an Event at the same Time with the
>  same Event-Content exist. Sometime, many Events exists with the same
>  Content on the same Time. Then my tool should delete all Events and
>  create a new one Event. Looks at my code-snippet please:
>
>                          EventQuery myQuery = new
>  EventQuery(calendarURI);
>                          myQuery.StartTime = dtstart;
>                          myQuery.EndTime = dtend;
>                          myQuery.Query =
>  dataGridView1.Rows[i].Cells[5].Value.ToString();
>
>                          EventFeed myResultsFeed =
>  service.Query(myQuery);
>
>                          if (myResultsFeed.Entries.Count > 0)
>                          {
>                              for( int j = 0; j <
>  myResultsFeed.Entries.Count; j++ )
>                              {
>                                  AtomEntry firstMatchEntry =
>  myResultsFeed.Entries[ j ];
>
>                                  firstMatchEntry.Delete();
>                                  toolStripStatusLabel1.Text = "Termin
>  gelöscht!";
>                                  Application.DoEvents();
>                              }
>                          }
>
>  My Tool run the FOR-Loop throug all events, but doesnt delete this
>  events. My questions is, why not??
>
>  best regards
>  Carsten
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to