logo       

Re: Using VB.NET with the gdata.dll: msg#00104

Subject: Re: Using VB.NET with the gdata.dll
Nathan - not sure if this helps, but I went through a similiar "get
started" test using VS/VB 2003, .NET Framework 1.1. The project had
references to gcalendar.dll, gdata.dll, and gextension.dll ...I'm
pretty sure that gextension is not needed for the code below...

This example lists the events in the google calendar...

        ' list all the events....
        Dim query As Google.GData.Calendar.EventQuery = New
Google.GData.Calendar.EventQuery
        Dim service As Google.GData.Calendar.CalendarService = New
Google.GData.Calendar.CalendarService("test-application-name")
        service.setUserCredentials("your account@xxxxxxxxx", "your
password") ' <<<<<<--------- insert your account info here...
        query.Uri = New
Uri("http://www.google.com/calendar/feeds/default/private/full";)
        Dim calFeed As Google.GData.Calendar.EventFeed =
service.Query(query)
        Dim feedEntry As Google.GData.Calendar.EventEntry

        For Each feedEntry In calFeed.Entries
            MessageBox.Show(feedEntry.Title.Text) ' list the event
title in a messagebox...
        Next




<Prev in Thread] Current Thread [Next in Thread>