Search found 535 matches: lock

Return to advanced search

Re: cloud or not cloud

... loads either the full content or just the header. * - php4dbf_getLastUpdateDate: Extracts the last update date from the DBF header. * - php4dbf_flock: Attempts to create a lock and lock file. * - php4dbf_phpunlock: Releases the lock created by `flock` using PHP. * - php4dbf_unlock: Releases the ...
by Otto
Fri Nov 15, 2024 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 1120

Re: FIX CAPSLOCK ON

Hi, I 'd like to fix the caps lock to ON . How to ? Thanks Philippe Good morning. Use google translate, pls. #include "fivewin.ch"// #include "Dll.ch"// ----------------------------------------------------------------------// ...
by karinha
Mon Nov 04, 2024 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FIX CAPSLOCK ON
Replies: 3
Views: 151

FIX CAPSLOCK ON

Hi,
I 'd like to fix the caps lock to ON .

How to ?

Thanks

Philippe
by Jack
Mon Nov 04, 2024 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FIX CAPSLOCK ON
Replies: 3
Views: 151

Re: Lock the mouse

In the C language, they suggest disabling the mouse like this
Code: Select all  Expand view  RUN
system("xinput disable ID mouse")

Get the ID mouse from the xinput list
How can this be written in FW ?
by Natter
Tue Sep 10, 2024 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lock the mouse
Replies: 7
Views: 817

Re: Switching from memo fields to files -

... This required counters which had to be updated. It could easily become problematic in multi user applications. A full record would have to lock the counters until its processing was complete. I'm curious if people are still actually having issues with memo fields on current computers or ...
by TimStone
Mon Jul 29, 2024 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Switching from memo fields to files -
Replies: 8
Views: 862

Re: Question about Memo Field Storage Strategy?

... in developing ideas with fixed formats. When I worked with "FiveWin for Pocket PC," we didn't have a database either. Back then, I used lock files similar to how Excel or Word does it. I think now with mod_harbour, I will solve it similarly. rlock() and flock() seem a bit unstable on ...
by Otto
Tue Jul 02, 2024 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about Memo Field Storage Strategy?
Replies: 3
Views: 351

Re: DBF File Parsing with PHP - low-level file reading

... But with stateless, it’s great. I also worked similarly on PocketPC – there we didn’t have DBF either. Word, Excel, Access also don’t have file locks but make parallel lock files. I do it the same way. I have an update of the code here. Best regards, Otto #include "FiveWin.ch"PROCEDURE ...
by Otto
Wed Jun 19, 2024 11:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF File Parsing with PHP - low-level file reading
Replies: 18
Views: 1235

Re: Problem with lock record (dbf/cdx)

To All In this crazy world of data hacks and database injection ... I ( myself ) prefer to lock a record with code ... update a value and then unlock .. Database injection is easy to infiltrate any table if you have an auto-increment field .... Just something to think ...
by wartiaga
Sun Jun 16, 2024 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

Hola, Aparentemente su codigo es correcto más alla de que no uso TDatabase y asimilo que funciona como las primitivas en las que se basa. M he topado algunas veces con "choques" de "contadores". En mi caso no ocurren mucho y achaco que ocurran muy pocas veces a que mis clientes ...
by wartiaga
Sun Jun 16, 2024 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

Shouldn't RecLock() and RecUnLock() work? Should work and we can make it work. But this approach slows down performance when we add more and more concurrent users. AutoInc field does not hit performance. the field needs to be composed of 2 other characters You are using TDatabase and this makes it ...
by wartiaga
Sun Jun 16, 2024 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

Hola, Aparentemente su codigo es correcto más alla de que no uso TDatabase y asimilo que funciona como las primitivas en las que se basa. M he topado algunas veces con "choques" de "contadores". En mi caso no ocurren mucho y achaco que ocurran muy pocas veces a que mis clientes u...
by paquitohm
Sun Jun 16, 2024 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

To All

In this crazy world of data hacks and database injection ... I ( myself ) prefer to lock a record with code ... update a value and then unlock .. Database injection is easy to infiltrate any table if you have an auto-increment field .... Just something to think about.

Rick Lipkin
by Rick Lipkin
Sat Jun 15, 2024 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

Shouldn't RecLock() and RecUnLock() work? Should work and we can make it work. But this approach slows down performance when we add more and more concurrent users. AutoInc field does not hit performance. the field needs to be composed of 2 other characters You are using TDatabase and this makes it ...
by nageswaragunupudi
Sat Jun 15, 2024 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737

Re: Problem with lock record (dbf/cdx)

resulting in a duplicate record in the table The best way to avoid duplicates in a multi-user environment is to use AutoIncrement field. ( FieldType "+" ) Example: Field ID in fwh\samples\customer.dbf While adding a record, we should not assign any value to this AutoInc field ID. Next val...
by wartiaga
Sat Jun 15, 2024 12:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with lock record (dbf/cdx)
Replies: 9
Views: 737
Next

Return to advanced search