Closed GoogleCodeExporter closed 9 years ago
I'm also trying to use this example but I cannot compile. Visual Studio 2010
has an issue with the extension method:
CalendarService.Scopes.Calendar.GetStringValue()
The error I get is: The call is ambiguous between the following methods or
properties: 'Google.Apis.Util.Utilities.GetStringValue(System.Enum)' and
'Google.Apis.Util.Utilities.GetStringValue(System.Enum)'
Any ideas on how to resolve this?
Original comment by christia...@gmail.com
on 22 Feb 2012 at 3:48
Hi, any idea in VB.NET about use with Refresh Token?? Tonino
Original comment by faz...@gmail.com
on 24 Feb 2012 at 11:31
Try removing Google.Apis.Silverlight from reference list.
Original comment by sahin...@gmail.com
on 5 Mar 2012 at 11:17
I finally got this all working... try this:
Dim getAuth As Func(Of NativeApplicationClient, IAuthorizationState) = AddressOf GetAuthorization
Dim auth As New OAuth2Authenticator(Of NativeApplicationClient)(provider, getAuth)
Be careful if you enable breakpoints anywhere in the GetAuthorization function
(on VS 2011) because this can cause the function not to be called as expected...
And try this for scopes:
Dim scopes As New System.Collections.Generic.List(Of String)
scopes.Add(CalendarService.Scopes.Calendar.GetStringValue())
Dim state As IAuthorizationState = New AuthorizationState(scopes)
...
I hope this helps, there's quite a few .NET examples in the new Calendar docs
that are either just plain wrong, or don't convert easily into VB.
Original comment by notesand...@gmail.com
on 6 Mar 2012 at 11:16
I'm struggling with the v3 Calendar API - I just can't find enough information
to get started. I've played with the Task and URL Shortener examples, but I
can't transfer any of what I learned to do anything with Calendar.
Anyone know where I can find any complete example for Calendar that I can use
to get started?
Comment 4 above mentions the new Calendar docs, but everything that I've found
shows just a few lines of code at a time - not enough for me to make sense of
it.
Any help or pointers to help would be greatly appreciated.
Original comment by bgrayS...@gmail.com
on 12 Mar 2012 at 3:45
Original comment by davidwat...@google.com
on 3 Apr 2012 at 6:46
I'm in the same boat with not being able to find good Calendar v3
documentation. The documentation that Google provides does not even compile
with the v3 libraries.
Getting pretty frustrated that a company that is trying to get people to use
its services does not even provide good examples of how to do it. E.x.
https://developers.google.com/google-apps/calendar/instantiate under .NET.
Original comment by smatossi...@gmail.com
on 19 Apr 2012 at 6:20
Original comment by asky...@google.com
on 25 Apr 2012 at 5:17
Original issue reported on code.google.com by
gcaltool...@gmail.com
on 18 Feb 2012 at 7:22