I have a vb.net web application that people can go to create meetings (just 
like you would in outlook), and it then enters information into our SQL 
database and currently it sends it to Outlook (exchange) for people to 
accept/reject and then it goes right into their calendar.  We are in the 
process of going from exchange to Google mail.  I still want to keep my web 
app because I want that information in the database.  This way, when people 
go to our Intranet, they can see who is in a meeting, where, for what, and 
during which times.  But now that we're synching with Google mail, I don't 
know how to send a meeting request to people using Google so when they 
accept it automatically goes into the Google calendar, or just automatically 
enter the event/meeting into Google Calendar.  We don't want anyone to have 
to log into their Gmail account as we have everyone synching from Outlook to 
Google and most people are used to Outlook and still want to use it.  Does 
anyone have ideas on how to create meetings for other people in one spot for 
my web app?  I'm fine with the sql stuff, just not sure on how to do the 
google part.  I will not know everyone's credentials, just their email 
addresses. 

Okay, so here's the link I'm using:


https://www.google.com/calendar/feeds/default/private/full?rel=alternate

I<https://www.google.com/calendar/feeds/default/private/full?rel=alternateI>am 
getting the unauthorized error.  I thought that if i used the 
rel=alternate, the credentials wouldn't matter?


Here's one sample code I'm trying to run.

 
=====================================
Dim service As Service = New Service

        Dim entry As EventEntry = New EventEntry
        'set title and content of the entry
        entry.Title.Text = "Testing event entry here gg"
        entry.Content.Content = "Content testing entry here gg"
        'set a location for the event
        Dim eventLocation As Where = New Where()
        eventLocation.ValueString = "Location of meeting right here gg"
        entry.Locations.Add(eventLocation)

        Dim eventtime As [When] = New [When](DateTime.Now.AddHours(1), 
DateTime.Now.AddHours(2))
        entry.Times.Add(eventtime)

        entry.Notifications = True
       
        Dim postUri As Uri = New Uri("
https://www.google.com/calendar/feeds/default/private/full?rel=alternate";)
        'send the request and receive the response
        Dim insertedEntry As AtomEntry = service.Insert(postUri, entry)
=======================================
  
Another small question, when I add the users, how would I enter them with 
the entry variable?

Thanks for the help.  I know i had another thread out there, but can't find 
it now.  Let me know if anything else is needed.

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to