Page 7 of 9

Re: Google APIS Lib for Fivewin

Posted: Fri Jul 27, 2018 6:54 am
by Maurizio
Cristóbal

it's what I was looking for but dosn't work .


The
Function VerMapa2( cPostal_Code, cStreet, cNumber, cLocality, cState, cNation )
return a empty array ---> {0,0,0}

Regards Maurizio

Re: Google APIS Lib for Fivewin

Posted: Fri Jul 27, 2018 8:39 am
by Maurizio
Cristóbal

If I change in VerMapa2

Code: Select all

 nPos1  := At( "cacheResponse([[[", Left( cURL, 2048 ) )
   if !Empty( nPos1 )
      cRet   := Substr( Left( cURL, 1024 ), nPos1 + 17, 2048 - nPos1 )
      nPos2  := At( "]", cRet )
      if !Empty( nPos2 )
         cRet   := Left( cRet, nPos2 - 1 )
         aCoor  := hb_ATokens( cRet, "," )
      endif
   endif
with

Code: Select all

  nPos1  := At( "APP_INITIALIZATION_STATE=[[[",cUrl )
   if !Empty( nPos1 )
      cRet   := Substr(cUrl, nPos1 + 28,100 )
      nPos2  := At( "]", cRet )
      if !Empty( nPos2 )
         cRet   := Left( cRet, nPos2 - 1 )
         aCoor  := hb_ATokens( cRet, "," )
      endif
   endif
something started to work
Maurizio
www.nipeservice.com

Re: Google APIS Lib for Fivewin

Posted: Mon Jul 30, 2018 4:55 pm
by hmpaquito
Hola Cristobal,

Estoy probando el paquete.
Cuando ejecuto TestGmail.exe y pulso en Access no hace nada y se queda colgado.

He puesto mi client_id.json en la carpeta donde esta TestGmail.exe

A ver si por favor me puedes indicar que podría estar pasando.

Gracias.

Re: Google APIS Lib for Fivewin

Posted: Mon Jul 30, 2018 5:53 pm
by cnavarro
Paquito, thanks
Sorry, a small forgotten
Test this version and tell me

https://bitbucket.org/fivetech/fivewin- ... TGMAIL.EXE

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 8:26 am
by hmpaquito
Buenos días Cristobal,

Ahora al pulsar el boton Access dice "File JSON not Found"

Salu2

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 9:10 am
by cnavarro
And, are you sure that the client_id.json file is in the same folder as the EXE?

Y, estás seguro que el fichero client_id.json está en la misma carpeta que el EXE?

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 9:23 am
by hmpaquito
cnavarro wrote:And, are you sure that the client_id.json file is in the same folder as the EXE?

Y, estás seguro que el fichero client_id.json está en la misma carpeta que el EXE?
Sí, como se puede ver en la siguiente imagen:

Image

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 9:33 am
by cnavarro
Es una unidad ( quiero decir el root de una unidad )?, si es así
Crea una carpeta en esa unidad y prueba entonces, aunque es raro

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 10:26 am
by hmpaquito
cnavarro wrote:Es una unidad ( quiero decir el root de una unidad )?, si es así
Crea una carpeta en esa unidad y prueba entonces, aunque es raro
Creada carpeta C:\google, pero sigue sin funcionar, da el mismo error

Image

Image

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 11:16 am
by cnavarro
Paquito, puedes enviarme tu fichero .json ?

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 11:22 am
by hmpaquito
cnavarro wrote:Paquito, puedes enviarme tu fichero .json ?
Enviado !

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 1:05 pm
by hmpaquito
Gracias Cristóbal, ya está funcionando.


Una cosa. Me gustaría proveer a mi programa de una Agenda que pueda ser accedida remotamente.
Si utilizara TCalex entonces tendría que sincronizar con Google Calendar.

¿ Podría ser mejor utilizar también Google Calendar en con el programa fwh ?

¿ Qué os parece ?

Gracias.

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 1:21 pm
by cnavarro
Bien, en una version anterior

http://forums.fivetechsupport.com/viewt ... 75#p212839

Se incluye una rutina para exportar el calendario de Google a TCalex
Yo particularmente, disponiendo de la posibilidad de utilizar directamente este calendario de Google con la posibilidad de compartirlo, creo que utilizaría éste, dándole la apariencia estética que consideres


Well, in a previous version

http://forums.fivetechsupport.com/viewt ... 75#p212839

A routine is included to export the Google calendar to TCalex
I particularly, having the possibility of using this Google calendar directly with the possibility of sharing it, I think I would use it, giving it the aesthetic appearance that you consider

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 1:47 pm
by hmpaquito
A ver si lo he entendido: Podemos usar ggcalend.prg como agenda desktop (desconocia su existencia - gracias) ¿ es eso ?

¿ Podrias poner una imagen a ver qué tal se ve ?

Gracias por tu inconmesurable trabajo.

Re: Google APIS Lib for Fivewin

Posted: Tue Jul 31, 2018 4:22 pm
by cnavarro