Minimizes the current application and shows the Today screen.
You can use this method to create background applications.
Note that you must use a timer to run ShowTodayScreen after sub App_Start ends.
Otherwise the form will show.
Syntax: ShowTodayScreen
Example:
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
Form1.Text = "" 'Removes the application from the Running
Programs.
Hardware.New1
AddTimer("Timer1")
Timer1.Interval = 20
Timer1.Enabled = true
AddTimer("endTimer") 'this timer is used to end the application
after 15 seconds.
endTimer.Interval = 15000
endTimer.Enabled = true
End Sub
Sub Timer1_Tick
Timer1.Enabled = false
Hardware.ShowTodayScreen
End Sub
Sub endTimer_Tick
endTimer.Enabled = false
Msgbox("Quitting background application.")
AppClose
End Sub