Search found 200 matches: timeout

Return to advanced search

Re: Question about wfReadUrl()

Here it is returning immediately. Can you post a sample showing that long timeout, please?
by Enrico Maria Giordano
Sat Apr 06, 2024 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about wfReadUrl() - SOLVED
Replies: 20
Views: 2747

Re: leer y pdf y extraer datos

... .ini y el propio powershell graba en ese archivo .ini los datos resultantes (enviado/ no enviado) mientras el programa harbour espere con un timeout de 5 o que la seccion resultante haya sido escrita. Realmente funciona muy bien. Un unico .exe multifuncion de python puede ser la solucion ...
by paquitohm
Sat Jan 27, 2024 9:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: leer y pdf y extraer datos
Replies: 16
Views: 831

Re: Soap Web Service - timeout request

Darrell intenta con 'MSXML2.ServerXMLHTTP' que tiene el metodo setTimeouts(lResolve, lConnect, lSend, lReceive) 'MSXML2.XMLHTTP' es distinto de 'MSXML2.ServerXMLHTTP' Yo lo uso asi oHttp := CreateObject( 'MSXML2.ServerXMLHTTP' )oHttp:setTimeouts(  5 * 1000,   5 * 1000,  30 * 1000,  30 * ...
by RSalazarU
Thu Jan 11, 2024 6:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 702

Re: Soap Web Service - timeout request

Hi Antonio, Thank you. Question, if I set nSecs = 5 and responses comes back faster, will it still wait 5 seconds or process immediately? Does not wait. Processes immediately. Also for additional information: httprequest method SetTimeOuts( nResolveTimeOut, nConnectTimeOut, nSendTimeOut, nReceiveTi...
by nageswaragunupudi
Tue Jan 09, 2024 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 702

Re: Soap Web Service - timeout request

Hi Antonio,
Thank you. Question, if I set nSecs = 5 and responses comes back faster, will it still wait 5 seconds or process immediately?
by cdmmaui
Tue Jan 09, 2024 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 702

Re: Soap Web Service - timeout request

Dear Darrell, Please try this: oHttp:Open( 'POST', cURL, .F. ) oHttp:SetRequestHeader( "Content-Type","application/xml") oHttp:SetRequestHeader( "Accept","*/*") oHttp:SetRequestHeader( "Authorization", "Basic "+hb_base64Encode(cCred)) oHttp...
by Antonio Linares
Tue Jan 09, 2024 6:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 702

Soap Web Service - timeout request

Hello, It is possible to set a timeout request for a web service request? I added to IF oHttp:status=200 to check status but sometimes request hangs. TRY oHttp := CreateObject( 'MSXML2.XMLHTTP' ) CATCH oHttp := CreateObject( 'Microsoft.XMLHTTP' ...
by cdmmaui
Mon Jan 08, 2024 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 702

Re: Animaciones en dialogos

... 1 TO MovimientoDialogo // Si llega a la parte superior, detener el temporizador IF nPosY <= 0 CLEAR TIMER WAIT "Espere un momento..." TIMEOUT 1 // Cerrar el formulario RELEASE WINDOW MovimientoDialogo ENDIF RETURN En este ejemplo, se crea un formulario llamado MovimientoDialogo con ...
by paquitohm
Wed Dec 27, 2023 5:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Animaciones en dialogos
Replies: 2
Views: 387

Re: Subuir un fichero a un servidor

... HB_CURLOPT_UPLOAD, https://forum.modharbour.app/viewtopic.php?p=249&sid=b33df17b6d0293ded0071e42d6389e88#p249 Eso sí, asegúrate de que el TIMEOUT sea adecuado a la velocidad de tu internet y tiempos de respuesta de tu servidor ( ahora tienes 0, por si acaso, ponle un valor suficiente y ...
by cnavarro
Wed Nov 29, 2023 7:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2276

Re: Parameter for Timeout

Probably none, but it is just a good habbit of closing a program.

I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They need to save and close.


+1

Ramesh Babu
by RAMESHBABU
Fri Sep 22, 2023 2:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786

Re: Parameter for Timeout

What problem arises when someone leaves the program open that we have to respond to? Probably none, but it is just a good habbit of closing a program. I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They ...
by Marc Venken
Thu Sep 21, 2023 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786

Re: Parameter for Timeout

Hello, What problem arises when someone leaves the program open that we have to respond to? However, a timeout won't help here if the user is no longer in front of the computer. You'll always have to close the program automatically, but you won't know whether the data needs ...
by Otto
Thu Sep 21, 2023 11:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786

Re: Parameter for Timeout

hi Marc,

that is exact the Idea for "File-based" System and Network to reduce SMB Problem
by Jimmy
Thu Sep 21, 2023 11:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786

Re: Parameter for Timeout

Karinha, Very usefull piece of code. If a program is left open bij a user (like so ofthen) the code will show the screensaver (with a message that a program need to be closed) It even works if you are working in a other program. Nice and thanks if the screensaver stays active for xxx time, you could...
by Marc Venken
Thu Sep 21, 2023 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786

Re: Parameter for Timeout

hi,
karinha wrote:see if it helps:

YES, your Sample work in right Direction. :D

instead of Screen-Save it should "close" WINDOWS / DIALOG and DBF if USED()
Thx for Idea, now i can work in that Direction
by Jimmy
Thu Sep 21, 2023 3:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 786
Next

Return to advanced search