Search found 29 matches: ocli

Return to advanced search

Re: Another for Btnbmp

... yourself. You can do this by drawing a rectangle using functions like WndBoxClr, where you can specify the brush or pen color. Otto local hPen, oCli := ::GetCliRect() hPen = CreatePen( PS_SOLID, 1, nRGB( 255, 0, 0 ) ) WndBoxClr( ::GetDC(), 1, 1, oCli:nBottom - 2, oCli:nRight - 2, hPen ) DeleteObject( ...
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5117

Re: xHarbour.org updated!

... Regards, saludos. Very strange, please tell me what message is returned in this code: #include "Fivewin.ch" FUNCTION MAIN() LOCAL oUrl, oCli oUrl = TUrl():New( "https://apis.averbeporto.com.br/php/conn.php" ) oCli = TIPClientHttp():New( oUrl ) ? oCli:Open() RETURN NIL .F. -> ...
by wartiaga
Thu Sep 21, 2023 12:14 am
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... Regards, saludos. Very strange, please tell me what message is returned in this code: #include "Fivewin.ch" FUNCTION MAIN() LOCAL oUrl, oCli oUrl = TUrl():New( "https://apis.averbeporto.com.br/php/conn.php" ) oCli = TIPClientHttp():New( oUrl ) ? oCli:Open() RETURN NIL .F. -> ...
by karinha
Wed Sep 20, 2023 7:53 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... Regards, saludos. Very strange, please tell me what message is returned in this code: #include "Fivewin.ch" FUNCTION MAIN() LOCAL oUrl, oCli oUrl = TUrl():New( "https://apis.averbeporto.com.br/php/conn.php" ) oCli = TIPClientHttp():New( oUrl ) ? oCli:Open() RETURN NIL
by wartiaga
Wed Sep 20, 2023 7:32 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

karinha wrote:
Karinha this example works to you? The line IF oCli:Open() returns .T.?


yes!!

https://imgur.com/queLIA2

Image

Many thanks.

Regards, saludos.


Karinha,

I say my example with the Porto Seguro website, not Enrico's example.
by wartiaga
Wed Sep 20, 2023 7:00 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

Karinha this example works to you? The line IF oCli:Open() returns .T.?


yes!!

https://imgur.com/queLIA2

Image

Many thanks.

Regards, saludos.
by karinha
Wed Sep 20, 2023 6:34 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL   ACTIVATE DIALOG oDlg CENTEREDRETURN NILSTATIC FUNCTION Averba()   LOCAL oUrl, oCli, url, cNFSeResp, RespC   LOCAL hQUery := Hash()   url := "https://apis.averbeporto.com.br/php/conn.php"   TRY      // oUrl = ...
by wartiaga
Wed Sep 20, 2023 5:57 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL   ACTIVATE DIALOG oDlg CENTEREDRETURN NILSTATIC FUNCTION Averba()   LOCAL oUrl, oCli, url   LOCAL hQUery := Hash()   url := "https://apis.averbeporto.com.br/php/conn.php"   TRY      // oUrl = TUrl():New( 'https://apis.averbeporto.com.br/php/conn.php' ...
by wartiaga
Wed Sep 20, 2023 12:59 am
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... "&Cancel" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL ACTIVATE DIALOG oDlg CENTERED Return nil Static Function Averba() LOCAL oUrl, oCli LOCAL hQUery := Hash() TRY oUrl = TUrl():New( 'https://apis.averbeporto.com.br/php/conn.php' ) CATCH CurSorArrow() MsgInfo('Conection Error','Erro') ...
by wartiaga
Tue Sep 19, 2023 7:57 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

I need a reduced and self-contained sample that I can compile and execute here. In the meantime, you can try assigning these: oCli:nDefaultPort = nPortoCli:lSSL = .T. Thanks Enrico. The service integration manual does not say to define the port. Code below: #Include "Fivewin.ch" ...
by wartiaga
Tue Sep 19, 2023 12:16 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... much for your help. Through your post I managed to create the libs and put the dll in the executable folder. It is compiling normally but the IF oCli:Open() line is returning false, is there a different new parameter to use https? Thank you again. Code below: TRY oUrl = TUrl():New( 'https://apis.averbeporto.com.br/php/conn.php' ...
by wartiaga
Tue Sep 19, 2023 2:25 am
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

Re: xHarbour.org updated!

... oDlg CENTERED Return nil FUNCTION WebPageSource(cUrl) local oIE,cTXT,cHTML,cMemo:="" local cString LOCAL cString1,cString2 LOCAL oUrl, oCli,lOk DEFAULT cUrl := "https://www.bcv.org.ve" BEGIN SEQUENCE oUrl = TUrl():New( cUrl ) IF EMPTY( oUrl ) BREAK ENDIF oCli = TIPClientHttp():New( ...
by wartiaga
Mon Sep 18, 2023 7:22 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 39097

hbcurl xharbour

... ) CATCH CurSorArrow() MsgInfo('Erro ao criar a conexão','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] ...
by wartiaga
Tue Jul 18, 2023 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbcurl xharbour
Replies: 1
Views: 225

TLS 1.2 doubt

... ) CATCH CurSorArrow() MsgInfo('Erro ao criar a conexão','Erro') RETURN(.F.) END IF !EMPTY( oUrl ) oCli = TIPClientHttp():New( oUrl ) IF !EMPTY( oCli ) oCli:nConnTimeout = -1 IF oCli:Open() hQuery["mod"] := "login" hQuery["comp"] ...
by wartiaga
Thu Jul 13, 2023 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TLS 1.2 doubt
Replies: 7
Views: 375

PaintBorder of Btnbmp ( fwteam)

... these changes to the fwteam #define WHITE_PEN 6 // add this on top METHOD PaintBorder() CLASS TBtnBmp local nAdjustBorder := 0 local nWidth, nAdj, oCli local nRound := If( ::lRound, ::nRound, 0 ) local hWhitePen, hGrayPen, hOldPen add these line 1752 //if ! ::lPressedif !   ::lMOver        ...
by Silvio.Falconi
Sat Jun 10, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PaintBorder of Btnbmp ( fwteam)
Replies: 1
Views: 157
Next

Return to advanced search