Splash Screen and Scheduled Tasks

  • Thread starter Thread starter Joe Cool
  • Start date Start date
J

Joe Cool

Using VB in VS2005. 2005 has a new way to implment a spash screen that
alleviates the need for hardly any code. But I have found that when a
GUI that has a splash screen is run as a scheduled task, the splash
screen (and no other screen) is displayed for the entire run of the
application. How can I disable the spalsh screen just for when an app
is run as a scheduled task?
 
Hi,

I would add a timer to the form that would automatically close the
form after a few seconds

Ken
 
Joe Cool said:
Using VB in VS2005. 2005 has a new way to implment a spash screen that
alleviates the need for hardly any code. But I have found that when a
GUI that has a splash screen is run as a scheduled task, the splash
screen (and no other screen) is displayed for the entire run of the
application. How can I disable the spalsh screen just for when an app
is run as a scheduled task?

No help... just wondering what you were using before that required code for
a splash screen....

In VB6, in general, it's....

'==========
'Main Form
Private Sub Form_Load()

frmSplash.Show 'show the splash non-modal - no code required in the splash
form at all

'Do your startup work (or whatever you're doing that makes you want a
splash)

Unload frmSplash 'done with splashing... unload the form and continue.
End Sub
'==========
 
Back
Top