Search found 725 matches: loop

Return to advanced search

Re: Most powerfull Xbrowser and PDF

... and saves the bitmap as a JPEG file using BmpBufToJpg. 2. FindWnd(cTitle) Finds a window handle (hWnd) by matching its title (cTitle). Uses a loop to traverse through all child windows on the desktop. 3. BmpTrim(hBmp) Trims black areas from the sides of a bitmap. Calculates non-black pixel ...
by Otto
Mon Nov 18, 2024 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Most powerfull Xbrowser and PDF
Replies: 16
Views: 806

Generate a subtitled video from a Google NotebookLM audio

...       # Escribe el texto        srt_file.write(f"{segment['text'].strip()}\n\n")  4. Generate the base video: ffmpeg -loop 1 -i imagen.jpg -i entrada.wav -c:v libx264 -c:a aac -b:a 192k -shortest -y video_base.mp4 5. Add the subtitles to the video: ffmpeg -i video_base.mp4 ...
by Antonio Linares
Wed Nov 06, 2024 5:01 pm
 
Forum: Utilities / Utilidades
Topic: Generate a subtitled video from a Google NotebookLM audio
Replies: 1
Views: 86

Re: Copy file by mask

Use a loop controlled by the result of a DIRECTORY() call.
by Enrico Maria Giordano
Sat Nov 02, 2024 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy file by mask
Replies: 24
Views: 651

FW2WEB Merry-Go-Round

... HTML window. Automatic handling: Thanks to the Merry-Go-Round approach, the entire workflow remains automated and efficient. It’s essentially a loop from desktop to web and back – with no manual intervention required. Advantages of the FW2WEB Merry-Go-Round No firewall changes: The web server ...
by Otto
Sun Oct 27, 2024 9:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW2WEB Merry-Go-Round
Replies: 1
Views: 149

Re: a math formula

... adds a row even if the percentage is less than 50, look at the seventh row the percentage is 47 I tried to do a further check but in the FOR/NEXT loop it doesn't enter into an IF IF (nPercentualeUtile < nUtilePercent) cancel the line else aadd(...) endif I also tried to put a debug message ...
by Silvio.Falconi
Thu Oct 17, 2024 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 407

Re: DBF How to obtain an array containing record number

... to me to obtain the record number passing the key value? Only reading cdx files? I ask this because from my tests the DO WHILE !EOF() SKIP ENDDO loop is very very slow if the table is opened by others Sorry but I'm not happy with this matter have a nice day! Marco
by MarcoBoschi
Thu Oct 10, 2024 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 487

Re: slowness

Otto wrote:Enrico, since there is no display, you can’t see anything. It might work, but I just stopped it after a certain amount of time because it cannot be a solution.


Yes, that's exactly what you had to see: the slowness of the SKIP loop.
by Enrico Maria Giordano
Tue Sep 17, 2024 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3300

Re: slowness

... works. I think your mistake is that although you open the index file, you don't select a TAG and you also don't consider the index in the do-while loop. With my low-level function (PHP4DBF), I only need 0.65 seconds. Best regards, Otto https://mybergland.com/fwforum/lowmarco.jpg https://mybergland.com/fwforum/marcohb.jpg ...
by Otto
Mon Sep 16, 2024 6:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3300

Re: Creando Servicios con Harbour y xHarbour

Dear Mr.Antonio, I could build the EXE and the service is started. Where I should insert the Business Logic in the Loop? Can you please give me a small example. I tried like this to test // Aquí va el bucle principal del servicio while (ServiceStatus.dwCurrentState == SERVICE_RUNNING) ...
by RAMESHBABU
Mon Sep 16, 2024 1:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Servicios con Harbour y xHarbour
Replies: 28
Views: 1373

Re: slowness

I already tried with a simple formula like a single field: same problem. I only tried with a loop, not with a browse.
by Enrico Maria Giordano
Sun Sep 15, 2024 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3300

Re: slowness

Hi Marco
not only how many tags but its formula for that single tag
e.g.: dtos( gio_drg) + str(gio_num,9) + str(gio_riga,3)
I often made too complex indexes which often slowed down the browse,
I would like to know if the slowness you see is on loop type : ' do while .. enddo '
or on a browse
Bye
by mauri.menabue
Sun Sep 15, 2024 9:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3300

Re: slowness

... of in-memory indexes in Harbour. Where can I find the source code? Can you tell me that? Generating an index: I first read all records in a loop and write all matches into $matchRecords[] = [ 'index' => $i, 'fieldValue' => $fieldValue, // Add fieldValue here 'recno' => $i + 1 // ...
by Otto
Sun Sep 15, 2024 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3300

Problema raro en la validación (SOLUCIONADO)

... para saber si el archivo/fichero existe, si no existe devuelve FALSE o TRUE si ya existe. El problema es que cuando devuelve FALSE se queda en un LOOP, regresa al GET y vuelve a ir a la validación, regresa al GET y vuelve a ir a la validación. Tengo que matar la aplicación con el administrador ...
by Armando
Wed Aug 28, 2024 6:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema raro en la validación (SOLUCIONADO)
Replies: 2
Views: 730

inkey(0)

Hi, I need to perform some actions in an infinite loop, taking into account the pressed key at each iteration. I wrote: do while .T.  if inkey(0)=32    .........  else    exit  endif  sysrefresh()enddo ...
by Natter
Sun Aug 25, 2024 6:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: inkey(0)
Replies: 3
Views: 928

Re: ListBox Input Field Scrolling........

... WHlp := aVarArry[5] If Len(aVarArry) = 6 aTmpArray := aVarArry[6] For x = 1 To Len(aTmpArray) If Empty(aTmpArray[x]) aDel(aTmpArray[x]) Loop Endif If aScan(aDArray, aTmpArray[x]) = 0 aAdd(aDArray , aTmpArray[x]) Endif Next x DispDesc := If(Len(aDArray)#0,.T.,.F.) Endif uTemp := tRtn ...
by RiazKhan
Thu Aug 22, 2024 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 5
Views: 1267
Next

Return to advanced search