Search found 30 matches: readystate

Return to advanced search

Re: Saving OuterHTML using Await Implementation with TWebView

... - There's a loop (`WHILE .T.`) that waits for the document to be completely loaded. The function `AWait_QuerySelector` checks the `readyState` of the document. - If the document isn't completely loaded in six attempts (or iterations), it will exit the loop and show an error "Timeout! ...
by CharlesKwon
Thu Aug 17, 2023 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1692

Re: Saving OuterHTML using Await Implementation with TWebView

... - There's a loop (`WHILE .T.`) that waits for the document to be completely loaded. The function `AWait_QuerySelector` checks the `readyState` of the document. - If the document isn't completely loaded in six attempts (or iterations), it will exit the loop and show an error "Timeout! ...
by Otto
Thu Aug 17, 2023 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1692

Saving OuterHTML using Await Implementation with TWebView

... cSelector, nSecond) 6. The example scenario is as follows: 6-1.Navigate to google.com. 6-2.Use AWait_QuerySelector() to wait until the document's readyState becomes 'complete'. 6-3.Once complete, use AWait_GetOuterHTML() to display the outer HTML. Reagrds, Charles KWON /* c)copyright 2023- charleskwonohjun@gmail.com ...
by CharlesKwon
Mon Aug 14, 2023 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1692

Re: TWebView y Javascript

... response = []; var pwd_p12 = '12345' respuesta = 'oscar' window.contenido_comprobante = respuesta; var oReq = new XMLHttpRequest(); // alert(oReq.readyState ); // alert(this.status ); var ruta_certificado = 'c:\archivo.p12'; oReq.open("GET",ruta_certificado , true); // alert(oReq.readyState ...
by EASYSOFT
Sun Jul 16, 2023 8:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebView y Javascript
Replies: 6
Views: 442

Re: MSXML2.ServerXMLHTTP / readyState / Status

hi,
karinha wrote:
Code: Select all  Expand view

   x1 := hb_jsonDecode( oServerWS:responseText, @aArray )
 

thx for Sample CODE

i think i will make a Fivewin Version of my phpBB Forum Reader
by Jimmy
Sat Mar 18, 2023 2:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

... + " - " + oServerWS:StatusText, "Erro" )      RETURN NIL   ENDIF   WHILE oServerWS:readyState != 4      SYSREFRESH()      // oServerWS:WaitForResponse( 1000 ) // or:      SysWait( ...
by karinha
Sat Mar 18, 2023 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

hi, Do you want to receive data exactly by HTTP request or are they visible on the page and are they through DOM ? no, it is "very simple" just "GET" hole HTML e.g. from this Message, and find "Marker" to "extract" Text i´m a Internet Technique Dummy ... i onc...
by Jimmy
Sat Mar 18, 2023 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

Do you want to receive data exactly by HTTP request or are they visible on the page and are they through DOM ?
by Natter
Sat Mar 18, 2023 11:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

... anything, just "GET" Website and "extract" Information to fill local DBF --- i have search for MSXML2.ServerXMLHTTP and readyState / Status https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms761388(v=vs.85) readyState Property (0) UNINITIALIZED ...
by Jimmy
Sat Mar 18, 2023 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

Have you tried using WebView ?
by Natter
Sat Mar 18, 2023 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

hi, thx for Answer. my Idea is to give User more Information "why" it fail my PhpBB Forum "Reader" does not "recognize" when Server is "down" when using EDGE / Firefox i got Sorry, that didn’t work. Please try again or come back later. 500 Error. Internal Serv...
by Jimmy
Sat Mar 18, 2023 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: MSXML2.ServerXMLHTTP / readyState / Status

If I understood your question correctly, then you can check :Status in the loop fl:=seconds()do while .T.   if (oHttp:readyState=4.and.oHttp:Status=200).or.seconds()-fl>10      exit   endif   millisec(50)   sysrefresh()enddoif oHttp:Status!=200  ...
by Natter
Sat Mar 18, 2023 7:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

MSXML2.ServerXMLHTTP / readyState / Status

hi, i like to know where i can find more Information of Value about readyState / Status when using MSXML2.ServerXMLHTTP      oHttp:Send()      nReadystate := oHttp:readyState      IF nReadystate <> 4  // is there a Constant for 4 ?         BREAK  ...
by Jimmy
Sat Mar 18, 2023 7:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 396

Re: Questions about WebView

... "https://www.website/") do while .T. oDk:=oDlg:oClient:GetProp("Document") if valtype(oDk)="U".or.oDk:ReadyState!="complete" WaitMessage() SysRefresh() else lOk:=.T. exit endif enddo if lOk itm:=oDk:getElementById('auto_cdi') itm:Click() endif
by Natter
Fri Nov 25, 2022 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions about WebView
Replies: 26
Views: 1679

Re: TWebView:Destroy method does not close the window.

Hi Antonio, I have two version of TWebView examples that shows both "document.readyState" First one is original FWH TWebView class with dialog container with your last sended fwh libs. #include "FiveWin.ch"function Main()  local oWnd, ...
by Horizon
Fri Aug 05, 2022 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebView:Destroy method does not close the window.
Replies: 46
Views: 3223
Next

Return to advanced search