Search found 509 matches: msg

Return to advanced search

Traduzione da Java a Fwh

... Dato che non ho familiarità con Java, mi servirebbe una traduzione di questa funzione in fwh e xHarbour public static String getHeaderBytes(String msg) { char[] msgLength = new char[4]; msgLength[0] = (char) Integer.parseInt(String.valueOf(msg.length()), 10); msgLength[1] = (char) Integer.parseInt(String.valueOf(msg.length() ...
by a.tixi@htech.it
Wed Jan 24, 2024 11:21 am
 
Forum: All products support
Topic: Traduzione da Java a Fwh
Replies: 2
Views: 300

Re: Question about Message-functions

Dear Michel, It is not possible using standard FWH Msg...() functions as they use Windows API MessageBox() which does not allows it. So you have to create your own Msg...() function and here you have a great example from Mr. Rao: https://fivetechsupport.com/forums/viewtopic.php?p=260949&sid=d5c0b1968116267f40a085ad400602be#p260949
by Antonio Linares
Wed Jan 03, 2024 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about Message-functions
Replies: 6
Views: 703

Question about Message-functions

Hello,

I wonder if it is possible to use bold or italic characters in a Msg-function.

Code: Select all  Expand view
MsgAlert("Aaaa bbbb CCCC dddd eeee!","Take care")

Is it possible to put "CCCC" into bold or italic?

Thank you.
by driessen
Wed Jan 03, 2024 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about Message-functions
Replies: 6
Views: 703

Re: Function Hb_DirExists() no permite File() ubique los archivo

Hola,

Pues la verdad es que he leído varias veces el msg y no entiendo lo que quiere decir. Igual un ejemplo de codigo puede ayudar

Salu2
by paquitohm
Wed Nov 01, 2023 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Function Hb_DirExists() no permite File() ubique los archivo
Replies: 14
Views: 701

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

Si, usar hb_momoread o Filestr es similar, he probado en base 64 y si bien llega completo no se e regresa a su condición anterior.
by carlos vargas
Mon Oct 30, 2023 9:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

Buen dia Carlos

Consideraste usar el hb_memoread() para que el archivo no llegue corrupto.

manda['body']:= "data:application/pdf;base64,"+ hb_base64encode( hb_memoread(formato))


Saludos

Erick Almanza
Panama
by Erick Almanza
Mon Oct 30, 2023 2:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

Buena noche
Carlos

Me parece que si usas el metodo SendFilebyUrl. Primero debes subir a tu servidor luego desde alli lo envias. La otra forma es por carga

Saludos

Erick Almanza
by Erick Almanza
Mon Oct 30, 2023 12:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

Yes rao, others using whastapp app, i try using api Green, other option. :-)
by carlos vargas
Sun Oct 29, 2023 10:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

viewtopic.php?f=3&t=43841&p=264851&sid=e24041a61111c5a2cb7ce52e4e99150c#p264851

I tested sending Exe files as attachments
This is working perfectly.
The receiver is able to execute the exe correctly.
by nageswaragunupudi
Sun Oct 29, 2023 8:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

El archivo llega, si es texto bien, si no, parece corrupto. CLASS GreenApi   DATA cApiURL, cMediaURL   DATA cIdInstance, cIdToken   DATA oHttp   DATA lLog, cError   METHOD New( cIdInstance, cIdToken ) CONSTRUCTOR   METHOD SetLog(...
by carlos vargas
Sun Oct 29, 2023 6:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

#define __NOBINARY__/*----------------------------------------------------------------------------*///REEMPLAZAR POR LOS QUE LES INDIQUE AL REGISTRARSE EN GREENAPI, HAY UN MODO DEMO, DEBEN CREAR UNA CUENTA DESSARLLOADOR, CREAR UNA INSTANCIA Y VINCULAR UN DISPOSITIVO. #define GREEN_IDINSTANCE  "...
by carlos vargas
Sun Oct 29, 2023 4:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI

He estado trabajando, intentado hacer una clase para el envio de mensajes y archivos usando la api de GreenApi, la cual es de pago, ($12) he tenido exito enviando mensajes y contactos, no asi con el enviod e archivos, he atacado el problema intentado enviar el archivo en base 64, el archivo se envia...
by carlos vargas
Sun Oct 29, 2023 4:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda - Clase p/envio de msg,file por whatsapp - GREENAPI
Replies: 8
Views: 626

Re: Parameter for Timeout

... when "Timeout" --- HMG use DOEVENTS which "seem" me equivalent to Fivewin SysRefresh() it use TranslateMessage( &Msg ) and DispatchMessage( &Msg ) to get Event from Queue HB_FUNC ( DOEVENTS ){   MSG Msg;   HWND hDlgModeless = NULL;   while( ...
by Jimmy
Wed Sep 20, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 787

Re: el DTPICKER el MsgYesNo() etc en ingles y otros idiomas

... little letters like MsgYesNo() or DTPICKER will appear in English, will there be a way to avoid that? We can change the language displayed on the MSG... functions, using this FWH function. SetMsgLangID( 1034 ) // - Spanish If you set this at the beginning of your application, all msg..boxes ...
by nageswaragunupudi
Sat Aug 12, 2023 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: el DTPICKER el MsgYesNo() etc en ingles y otros idiomas
Replies: 10
Views: 1189
Next

Return to advanced search