Splash Screen and Scheduled Tasks

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?
 
K

Ken Tucker [MVP]

Hi,

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

Ken
 
K

Ken Halter

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
'==========
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top