Hi, I don't read German, .Net or Windows, but I suspect that there is some .Net/Google API mismatch in date formatting.
Try playing with your system date format to see if that makes a difference. It is also possible that you can pass an additional parameter to System.DateTimeParse.Parse. Ray On Jun 14, 2008, at 4:44 PM, Daviid wrote: > > hi. > i am new to google api. > my problem is: > i downloaded the google calendar appi .net librarys. > then opened the calendar c# sample in visual studio (2005 pro) > compiling and everything works fine...so far > when i enter my login data (and leave the uri as it is), then press > "go", i get an "FormatExeption" in line 276 > > any idea? > > some "more details" > System.FormatException was unhandled > Message="Die Zeichenfolge wurde nicht als gültiges DateTime > erkannt." > Source="mscorlib" > StackTrace: > bei System.DateTimeParse.Parse(String s, DateTimeFormatInfo > dtfi, DateTimeStyles styles) > bei System.DateTime.Parse(String s, IFormatProvider provider) > bei Google.GData.Calendar.EventQuery.ParseUri(Uri targetUri) > bei Google.GData.Client.FeedQuery.set_Uri(Uri value) > bei SampleApp.Calendar.RefreshFeed() in C:\Programme\Google > \Google Data API SDK\Sources\Samples\calendar\Calendar.cs:Zeile 276. > bei SampleApp.Calendar.Go_Click(Object sender, EventArgs e) in > C:\Programme\Google\Google Data API SDK\Sources\Samples\calendar > \Calendar.cs:Zeile 228. > bei System.Windows.Forms.Control.OnClick(EventArgs e) > bei System.Windows.Forms.Button.OnClick(EventArgs e) > bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs > mevent) > bei System.Windows.Forms.Control.WmMouseUp(Message& m, > MouseButtons button, Int32 clicks) > bei System.Windows.Forms.Control.WndProc(Message& m) > bei System.Windows.Forms.ButtonBase.WndProc(Message& m) > bei System.Windows.Forms.Button.WndProc(Message& m) > bei > System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) > bei > System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) > bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr > hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) > bei > System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) > bei > System > .Windows > .Forms > .Application > .ComponentManager > .System > .Windows > .Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 > dwComponentID, Int32 reason, Int32 pvLoopData) > bei > System > .Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 > reason, ApplicationContext context) > bei > System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 > reason, ApplicationContext context) > bei System.Windows.Forms.Application.Run(Form mainForm) > bei SampleApp.Calendar.Main() in C:\Programme\Google\Google > Data API SDK\Sources\Samples\calendar\Calendar.cs:Zeile 57. > bei System.AppDomain._nExecuteAssembly(Assembly assembly, > String[] args) > bei System.AppDomain.ExecuteAssembly(String assemblyFile, > Evidence assemblySecurity, String[] args) > bei > Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() > bei System.Threading.ThreadHelper.ThreadStart_Context(Object > state) > bei System.Threading.ExecutionContext.Run(ExecutionContext > executionContext, ContextCallback callback, Object state) > bei System.Threading.ThreadHelper.ThreadStart() > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
