FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC progress bar during the start of an application
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

progress bar during the start of an application

Posted: Mon Aug 24, 2009 09:37 PM

Is there a possibility to show a progress bar during the start of an application.
If not do you think it could be done with a starter.exe with a timer which is in the foreground and kills itself after a certain time.
Thanks in advance,
Otto

Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM

Re: progress bar during the start of an application

Posted: Tue Aug 25, 2009 12:48 AM
Hello Otto:

Otto wrote:Is there a possibility to show a progress bar during the start of an application.

Try TestProg.prg in \FWPPC\Samples.

Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: progress bar during the start of an application

Posted: Tue Aug 25, 2009 10:17 AM
Hello Manuel,
thank you for your answer. You are right.
But I don’t find a way to integrate the DIALOG.
If I use the NOWAIT clause the Dialog is not correctly painted.

Do you suggest to integrate a button into the dialog “Start program” or enter password and then jump into a function
which loads all the necessary values?


Code (fw): Select all Collapse
function Main()
   local oDlgSome
   *----------------------------------------------------------

   if IsExeRunning( cFileName( HB_ArgV( 0 ) ) )
      MsgInfo1( "The application is already running" )
      return nil
   endif

  DEFINE DIALOG oDlgSome TITLE "Programmstart: WHBiene" ;
      SIZE 200, 200  
   ACTIVATE DIALOG oDlgSome CENTERED //NOWAIT
….


Best regards,
Otto

Continue the discussion