Search found 90 matches

by Patrizio
Tue Jun 03, 2014 2:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Slow RDD experiences
Replies: 45
Views: 7957

Re: Slow RDD experiences

Patrizio, The dbf are used by both applications Fivewin and ,Net and the .Net provider doesn't handle well the FOR !Deleted() clause. I would suggest reusing deleted records. Whenever you want to add a new record, first look for a deleted record and if found, use it, otherwise add a new record. Jam...
by Patrizio
Tue Jun 03, 2014 1:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with two xbrowse tree - possible bug in dblclick ?
Replies: 2
Views: 753

Re: Problem with two xbrowse tree - possible bug in dblclick ?

I think the error is
b := :bLDClickData

:bLDClickData := { |r,c,f,o| ToggleFolder( r,c,f,o,b ) }

...

b := :bLDClickData

:bLDClickData := { |r,c,f,o| ToggleFolder( r,c,f,o,b ) }
Try to use two different variables.
by Patrizio
Tue Jun 03, 2014 8:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: Slow RDD experiences
Replies: 45
Views: 7957

Re: Slow RDD experiences

James Bott wrote:Patrizio,
The slow performance are due to deleted records but we can't use the INDEX ... FOR !Deleted()
Why can't you?

James
The dbf are used by both applications Fivewin and ,Net and the .Net provider doesn't handle well the FOR !Deleted() clause.
by Patrizio
Tue Jun 03, 2014 8:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Use of "(" ")" in the indexkey
Replies: 8
Views: 952

Re: Use of "(" ")" in the indexkey

Antonio Linares wrote:Is someone using parentheses "(" ")" in the index key definition ?

If so:

1. What RDD are you using ?

2. What is your index key ?

3. Are you using Harbour or xharbour ?

thanks :-)
1. DBFCDX (FPT)
2. dToS(), StrZero(), Str(), Upper(), Year(), Left() etc etc :D
3. xHarbour
by Patrizio
Thu May 29, 2014 7:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Slow RDD experiences
Replies: 45
Views: 7957

Re: Slow RDD experiences

I would like to ask you for your experiences regarding slow performance RDDs: 1. What RDD were you using ? 2. An upgrade of Harbour (or xHarbour) solved it ? 3. Was it related to a certain Windows version ? 4 Was it related to the network ? 5. How did you fixed it ? :-) I think this information wil...
by Patrizio
Wed May 21, 2014 4:57 pm
Forum: All products support
Topic: Creazione menu a runtime
Replies: 3
Views: 979

Re: Creazione menu a runtime

Antonio, many thanks: with your change it works very well. :D
by Patrizio
Wed May 21, 2014 4:38 pm
Forum: All products support
Topic: Creazione menu a runtime
Replies: 3
Views: 979

Creazione menu a runtime

Ciao a tutti, ho riscontrato un problema costruendo un menu a runtime. Piccolo esempio: ogni volta che cliccate su test il programma dovrebbe ricreare il menu. Se controllate con il gestione attività vedrete che il numero di GDI objects utilizzati incrementa ogni volta di 20 unità senza mai liberars...
by Patrizio
Tue May 20, 2014 7:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: Setting default printer in Terminal Server environment
Replies: 5
Views: 788

Re: Setting default printer in Terminal Server environment

Try to set the default printer with drive and port

Code: Select all

PrnGetName()  + "," + PrnGetDrive() + "," + PrnGetPort()
 
by Patrizio
Mon May 19, 2014 10:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Setting default printer in Terminal Server environment
Replies: 5
Views: 788

Re: Setting default printer in Terminal Server environment

Do you install the PDF24 driver on client?
by Patrizio
Tue May 13, 2014 11:06 am
Forum: All products support
Topic: Comportamento anomalo dbrlock/dbunlock
Replies: 0
Views: 558

Comportamento anomalo dbrlock/dbunlock

Ciao a tutti, anche se non è proprio il forum più indicato... vi è mai capitato un comportamento analogo? Eseguendo questo esempio, compilato con le versioni aggiornate di xHarbour.com o xHarbour.org, alla seconda iterazione il lock di alcuni record (tipo l'805) non va a buon fine senza una motivazi...
by Patrizio
Fri May 09, 2014 9:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: encrypting dbf files
Replies: 67
Views: 14109

Re: encrypting dbf files

In our programs, we are taking a different solution for the encryption of database: we use the windows encryption from a administrator user that we only know the password because we access the DBF-encrypted from FiveWin and .NET and we can't use FW or xHarbour function to encrypt/decrypt. When a use...
by Patrizio
Thu Apr 17, 2014 8:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Going to a field directly.
Replies: 6
Views: 1022

Re: Going to a field directly.

Well, we can suppose the user know and remember the alphabet.

Hunter, you must use a say before every get with the accelerator key. A for Get1, B for Get2, etc.
by Patrizio
Mon Apr 07, 2014 11:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error E0030 problem and solution
Replies: 3
Views: 797

Re: Error E0030 problem and solution

IDNO is defined in winuser.ch
by Patrizio
Thu May 30, 2013 8:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreading
Replies: 34
Views: 5156

Re: Multithreading

Enrico Maria Giordano wrote:Patrizio,

That's why I prefer background tasks. :-)

EMG
It depends on what you need to do, I use bgtasks to check if there is connectivity and check for sw updates.
by Patrizio
Thu May 30, 2013 8:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreading
Replies: 34
Views: 5156

Re: Multithreading

Enrico, the error is considered an application MT as an application ST with an extra function.

MT applications are designed especially for parallel processes (we use .NET MT app for processing many ascii files at same time).