Search found 212 matches

by edk
Tue Jan 16, 2018 9:38 pm
Forum: General
Topic: SFTP con Key
Replies: 2
Views: 276

Re: SFTP con Key

Maybe try setup private key with: curl_easy_setopt(curlHandle, HB_CURLOPT_SSH_PRIVATE_KEYFILE, cKeyFile) You can also look at: https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html Note that the curl parameters in harbour port have the pre...
by edk
Tue Jan 16, 2018 2:58 pm
Forum: HMG General Help
Topic: define columncontrols runtime
Replies: 6
Views: 174

Re: define columncontrols runtime

What does letter E in {'TEXTBOX','NUMERIC','999999.999','E'} TextBox control Format String (Allowed in Numeric Textbox Only): C : Displays CR after positive numbers X : Displays DB after negative numbers ( : Encloses negative numbers in parentheses E : Displays numbers in British format http://www....
by edk
Tue Jan 16, 2018 2:12 pm
Forum: HMG General Help
Topic: define columncontrols runtime
Replies: 6
Views: 174

Re: define columncontrols runtime

I can do it, for example, in this way: #include "hmg.ch" Function Main() select 1 Use ptvartic Alias Articulos aCtrl_1 := {'TEXTBOX','CHARACTER'} aCtrl_2 := {'TEXTBOX','CHARACTER'} aCtrl_3 := {'TEXTBOX','CHARACTER'} aCtrl_4 := {'TEXTBOX','NUMERIC','9999999999'} DEFINE WINDOW Form_1 ; AT 0,0 ; WIDTH ...
by edk
Sat Jan 13, 2018 9:36 am
Forum: HMG Samples
Topic: Print Windows Form
Replies: 26
Views: 3488

Re: Print Windows Form

BeGeS wrote: I wrote something like this:

cString:="Description"+REPLICATE (".", 50)
@Row,Col PRINT cString TO Row,Col+25
You need to create a rectangular box with a height not less than the height of the printed text ;)
by edk
Fri Jan 12, 2018 5:52 pm
Forum: HMG Samples
Topic: Print Windows Form
Replies: 26
Views: 3488

Re: Print Windows Form

You can also do it this way: #include "hmg.ch" Function Main() DEFINE WINDOW Win_1 ; AT 0,0 ; WIDTH 400 ; HEIGHT 400 ; TITLE 'Test' ; MAIN @ 50, 50 BUTTON Button_1 CAPTION "Test" ACTION PrintTest() END WINDOW CENTER WINDOW Win_1 ACTIVATE WINDOW Win_1 Return *-----------------------------------------...
by edk
Tue Jan 09, 2018 9:23 pm
Forum: HMG General Help
Topic: TIPEncoder question
Replies: 4
Views: 249

Re: TIPEncoder question

Hi, Serge it's simple. First you must convert string to UTF8, then encode it. I prefer to use the tip_URLEncode() and tip_URLDecode() functions directly, rather than the tipEncoder class: #include "hmg.ch" #include "hblang.ch" REQUEST HB_CODEPAGE_FRWIN Procedure main() SET LANGUAGE TO French set( _S...
by edk
Sun Jan 07, 2018 3:19 pm
Forum: Others
Topic: Communication via http
Replies: 16
Views: 643

Re: Communication via http

THX!
by edk
Sat Jan 06, 2018 3:21 pm
Forum: Others
Topic: Communication via http
Replies: 16
Views: 643

Re: Communication via http

So I'm waiting impatiently 8-)
by edk
Sat Jan 06, 2018 10:17 am
Forum: Others
Topic: Communication via http
Replies: 16
Views: 643

Re: Communication via http

Marek, maybe this will be helpful: micro web server on hb (uhttpd)
https://github.com/harbour/core/tree/ma ... as/httpsrv
and
https://github.com/vszakats/harbour-cor ... ib/hbhttpd
by edk
Fri Jan 05, 2018 11:41 pm
Forum: General
Topic: EPSON TM-T20II
Replies: 2
Views: 226

Re: EPSON TM-T20II

Maybe try to add at beginning of PROC BuscarFacturasNuevas

Code: Select all

RELEASE MEMORY
hb_releaseCPU()