[Gambas-user] EXEC progress

bill-lancaster bill-lancaster at ...2231...
Wed Mar 22 20:37:46 CET 2017


Yes, a progress bar or even just a label showing which operation is current.
hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As
"Process"

with

Public Sub Process_Read()
Dim sData As String
    Read #Last, sData, -255 
   Label1.caption = sData
End

doesn't show anything

This works, but is not very elegant

     hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] For Input
     Do While hProc.State = 1
          Wait
     Loop
     Label1.caption = "process 1 completed"




--
View this message in context: http://gambas.8142.n7.nabble.com/EXEC-progress-tp58674p58679.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list