Search found 231 matches

by PedroAlex
Mon Jul 01, 2019 7:58 am
Forum: eXpress++ Support
Topic: PushButton can perform 2 diferent actions?
Replies: 14
Views: 21053

Re: PushButton can perform 2 diferent actions?

Roger. Thanks for this new feature. I've tried and done what I need. I simply replaces the PRG (_dcgetbx.pr, _dcxbrow.prg, _dcxbutt.prg) and compiled. But now I have a new problem: The Enter does not change the field cursor. Could you see what's going on? Attached Small sample. xBase 2.0.1095. best ...
by PedroAlex
Mon Jun 24, 2019 1:49 am
Forum: eXpress++ Support
Topic: PushButton can perform 2 diferent actions?
Replies: 14
Views: 21053

Re: PushButton can perform 2 diferent actions?

Hello, In a TouchScreen scenario, pressing and holding the button makes a lot of sense. I plan to use it to allow the user to configure their touch keyboard. So that the user can set the desired actions for that button. I usually see this functionality in most POS programs that are on the market. Th...
by PedroAlex
Sat Jun 22, 2019 3:56 am
Forum: eXpress++ Support
Topic: PushButton can perform 2 diferent actions?
Replies: 14
Views: 21053

PushButton can perform 2 diferent actions?

Hello. it is possible for a Pushbutton to perform two different actions? One for a short click, and one for a long click. That is, if we click normal on the button it performs a certain action. But pressing the button for more than 3 seconds performs another action. This is very common in POS applic...
by PedroAlex
Sat May 11, 2019 1:17 am
Forum: SqlQuery
Topic: Beta testers are welcome in this forum
Replies: 10
Views: 23776

Re: Beta testers are welcome in this forum

I already have some things in PostGree SQL remote.
Of course DBFs have their days counted.
All the work to develop in SQL is very important and already comes a little late.
I will follow this topic with great interest and if I can i will make my contribution.
by PedroAlex
Thu Dec 06, 2018 1:56 am
Forum: Xbase++ 2.0
Topic: Protect application against copy
Replies: 7
Views: 14054

Re: Protect application against copy

Jimmy, Thank you for your always great availability. I Will try your sugested solution. Klaus. that's the idea. I just find it strange, as a programming language that costs a fortune, not having low-level comands for these basic operations. At times I tried to use Volserial(), but this command failu...
by PedroAlex
Wed Dec 05, 2018 12:24 pm
Forum: Xbase++ 2.0
Topic: Protect application against copy
Replies: 7
Views: 14054

Re: Protect application against copy

It seems to me that the simplest and most effective way is get the serial number of the harddisk.
Do you know any way to get the hard disk serial number?
by PedroAlex
Wed Dec 05, 2018 4:19 am
Forum: Xbase++ 2.0
Topic: Protect application against copy
Replies: 7
Views: 14054

Protect application against copy

Hello.

how can I ensure that an application only works on a given pc.
In other words, I want to protect an application so that it can only be executed on that pc.
Has anyone done anything like this?
Any opinion on the correct way is welcome

Many thanks.
by PedroAlex
Tue Nov 20, 2018 9:27 am
Forum: Xbase++ 2.0
Topic: Detect Pen Drive
Replies: 6
Views: 12301

Re: Detect Pen Drive

Hi Jimmy this code works fine for me. this way I can detect Pendrives ( removable drives ) conected. FUNCTION AvailPenDrives( lFloppy ) LOCAL aDrives := {} LOCAL i, nStart DEFAULT lFloppy TO .F. IF lFloppy nStart := 1 ELSE nStart := 3 // without Floppy A: / B: ENDIF FOR i := nStart TO 26 BEGIN SEQUE...
by PedroAlex
Sat Nov 17, 2018 11:26 am
Forum: Xbase++ 2.0
Topic: Detect Pen Drive
Replies: 6
Views: 12301

Re: Detect Pen Drive

Jimmy, I am trying to detect the letter of a Pen Drive just plugged into the USB port. but this is not going well. The "GetLogicalDriveStringsW" function does not work as expected. I'm probably passing the parameters wrong. I'm not in the right truck? Procedure Teste_Deteta_PenDrive() Local nType, n...
by PedroAlex
Sat Nov 17, 2018 4:31 am
Forum: Xbase++ 2.0
Topic: Detect Pen Drive
Replies: 6
Views: 12301

Re: Detect Pen Drive

Jimmy,
Many thanks for the help
I'll test this code