I did another search and noticed that someone is having this problem
with deletes.
Mine is on adding events. I am using .NET 2.0 (as was the other
user). Also using IE 7.
It seems to be a timeout thing.
I started the program, added one, then waited a few minutes and tried
to add another one and it failed. During my wait time, I did nothing
on the compter at all - still failed.
It seems to never happen on the first one.
Sometimes I am able to step through a few pages on other websites
without a problem, but if I go refresh the GoogleCal page, I am
doomed.
Here is a shortened version of the code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Google.GData.Client;
using Google.GData.Extensions;
using Google.GData.AccessControl;
using Google.GData.Calendar;
namespace WindowsApplication1 {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void ultraButton1_Click(object sender, EventArgs e) {
MakeAppt("myusername", "mypassword");
}
private void MakeAppt(string user, string pw) {
EventEntry evnt = new EventEntry();
evnt.Times.Add(new When(DateTime.Now,
DateTime.Now.AddHours(1)));
evnt.Title.Text = "My Appt";
CalendarService _calService = new
CalendarService("Sample");
Uri _UriCalendar = new Uri("http://www.google.com/calendar/
feeds/" + user + "/private/full");
_calService.setUserCredentials(user, pw);
_calService.Insert(_UriCalendar, evnt);
}
}
}
Thanks for any help!
Bob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---