4 messages in com.googlegroups.google-calendar-help-dataapiRe: 'System.IO.FileNotFoundException'...
FromSent OnAttachments
rod....@gmail.com30 Jul 2006 04:44 
Frank Mantek30 Jul 2006 06:04 
rod....@gmail.com30 Jul 2006 10:19 
rod....@gmail.com30 Jul 2006 10:55 
Subject:Re: 'System.IO.FileNotFoundException' when running cs sample.exe
From:Frank Mantek (fman@gmail.com)
Date:07/30/2006 06:04:19 AM
List:com.googlegroups.google-calendar-help-dataapi

I need more information (not being a VB guy myself...):

a) what version of VB are you using? b) what version of the .NET client lib are you using?

I plan to do some testing with VB tomorrow and .NET 2.0 tomorrow, so if you could zip the project and send it to this group or my email directly, that would be grand...

On 7/30/06, rod.@gmail.com <rod.@gmail.com> wrote:

I just downloaded the gdata api, and ran sample.exe in the cs\lib folder. I got the error and the Just-In-Time debugger with the message: "An exception 'System.IO.FileNotFoundException' has occured in sample.exe"

What is missing or what am I doing wrong?

I am developing a VB app, and get a suspiciously similiar message from either of these statements: Dim calendar As Google.GData.Calendar.CalendarService -- or -- Dim calendar As Google.GData.Calendar.CalendarService = New CalendarService("My-App-Name")

The error message generated is: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll Additional information: File or assembly name CalendarService, or one of its dependencies, was not found.

For what it is worth, the following vb code works fine, so the issue seems related to the calendar dll...: Dim myQuery As New Google.GData.Client.FeedQuery Dim myService As Google.GData.Client.Service Dim myAppName As String = Application.CompanyName & "-" & Application.ProductName & "-" & Application.ProductVersion.ToString myService = New Google.GData.Client.Service("cl", myAppName) Dim myCredentials As Net.NetworkCredential myCredentials = New Net.NetworkCredential("myu@gmail.com", "mypassword") 'changed for this example myService.Credentials = myCredentials myQuery.Uri = New Uri(Me.TextBox1.Text) ' the text box holds the private google calendar xml url... Dim myAtom As Google.GData.Client.AtomFeed = myService.Query(myQuery) MessageBox.Show(myAtom.Entries.Count.ToString

ANY help in understanding this matter is appreciated, and my thanks in advance...

Rod Kimmel, Partner Software On Sailboats http://www.softwareonsailboats.com