progress bar during the start of an application

progress bar during the start of an application

Postby Otto » Mon Aug 24, 2009 9: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: progress bar during the start of an application

Postby mmercado » 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
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: progress bar during the start of an application

Postby Otto » 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: Select all  Expand view  RUN
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests