Search found 172 matches

by toninhofwi
Fri Jun 28, 2024 4:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 591

Re: GET an activeX ENUM by name

Antonio Linares wrote:Dear Toninho,
You may use defines for each value, in example:
#define xtpCalendarDayThursday 16
Hi Antonio, Thanks for the answer.

I'm doing this, but it would be easier to get the value directly from the object.

BTW thank you :D

Regards.
by toninhofwi
Fri Jun 28, 2024 12:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GET an activeX ENUM by name
Replies: 5
Views: 591

GET an activeX ENUM by name

Hi friends,

Is there a way to get an active enum value by its name:

For example: I need get "xtpCalendarDayThursday" value to use in activeX object:

type
CalendarWeekDay = TOleEnum;
const
xtpCalendarDaySunday = 1;
xtpCalendarDayMonday = 2;
xtpCalendarDayTuesday = 4;
xtpCalendarDayWednesday ...
by toninhofwi
Fri Apr 19, 2024 12:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 1838

Re: Digitally signing a document

Hi, maybe you can test with chilkat:

https://www.example-code.com/foxpro/pdf_signatures.asp

Regards,

Toninho.
by toninhofwi
Tue Nov 28, 2023 9:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Testing Harbour -gc3 flag
Replies: 36
Views: 7485

Re: Testing Harbour -gc3 flag

If you use the flag -gc3 when calling harbour.exe it generates C calls without using pcode, thus your apps will be a little faster :-)

we would like to have your feedback about building your FWH + Harbour apps using this flag

thank you!

Hi Antonio, I'm using -gc3 for years!!! I think since 2019 ...
by toninhofwi
Sat Jul 01, 2023 5:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Alguien ha Trabajado con RSA-SHA1
Replies: 4
Views: 443

Re: Alguien ha Trabajado con RSA-SHA1

Hi, I use chilkat for that:

https://tools.chilkat.io/xmlDsigGen

Regards.

PS: choose FOXPRO to generate the code and you can simple change "." by ":" to use in FWH/Harbour class
by toninhofwi
Tue Apr 04, 2023 4:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como se usa CHILKAT
Replies: 9
Views: 1864

Re: Como se usa CHILKAT

Holá, exemplo para ler um XML, no site tem várias funções em FOXPRO que você troca o "." por ":" e pode usar no harbour.

Eu uso a Chilkat para assinar PDF e assinar XML de fatura eletrônica do brasil.

---cut---
static procedure testChilkat()

local oGlobal := win_OleGetActiveObject( "Chilkat_9_5 ...
by toninhofwi
Mon Mar 27, 2023 12:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: using a Python module from Harbour according to IA
Replies: 2
Views: 592

Re: using a Python module from Harbour according to IA

Wow!

Good news, today I'm using Chilkat because I need some features that Harbour don't have, for example XmlDSigGen,
using Pyton for sure there are no limitation to do this.

Thank you Antonio, best regards.
by toninhofwi
Thu Aug 18, 2022 12:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: VIES VAT-Check

Hi Mark sorry for jump in this topic, but I have issues in Brazilian NFe and the only way I found to connect and manage his web service is using Chilkat ActiveX dll. The support is great and the guys helped me a lot.

Regards,

Toninho.
by toninhofwi
Tue Aug 09, 2022 3:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Email with SSL / TLS using FiveWin

Hi, try use chilkat activex dll, there are a lot of foxPro samples that can be used with harbour

https://www.example-code.com/foxpro/smtp.asp

regards
by toninhofwi
Thu Jun 23, 2022 12:24 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Possible bug in some coordinates conversion

Maybe you could try to modify this function using longs instead of ints:

HB_FUNC( GETWNDRECT ) // hWnd --> { nTop, nLeft, nBottom, nRight }{... hb_reta( 4 ); hb_storvnl( rct.top, -1, 1 ); // changed! hb_storvnl( rct.left, -1, 2 ); // changed! hb_storvnl&#40 ...
by toninhofwi
Mon May 16, 2022 12:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: How code obfuscation helps protect application data

Otto, try asProtect:

http://www.aspack.com/asprotect32.html

Regards,

Toninho.
by toninhofwi
Sat Apr 30, 2022 8:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Possible bug in some coordinates conversion

Hi Antonio how are you?

I found a interesting bug in screen coordinates function (at least in windows 11):

---cut---
GetWindowRect( hWnd, &rct );
wWidth = rct.right - rct.left;
wHeight = rct.bottom - rct.top;
---cut---

In windows 11 rct.right is 1374 and rct.left is -8, so 1374 - (-8) give ...
by toninhofwi
Sat Jul 04, 2020 2:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

SVG Files

Hi, there are a way to load .SVG icon files and display it like a normal image please?

TIA and best regards.
by toninhofwi
Wed May 22, 2019 5:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Building a Windows Service

to compile service.prg I use this:

---cut---
set PATH=c:\bcc\bin;%PATH%

\harbour-install\bin\hbmk2 service -lhbwin -lace32 -lrddads -iC:\harbour-install\contrib\hbwin
---cut---


Regards.