|
-
May 16th, 2000, 01:48 AM
#1
Thread Starter
New Member
How can i make my program run, and let the computer run as normal until a certain time when it displays a dialog box.
Eg at 6:00PM everyday, it shows form1 saying: 'It's Internet Time'
-
May 16th, 2000, 01:54 AM
#2
Addicted Member
Hi,
Try a timer (on a hidden form) every minute that checks for the appropriate time and if the condition is true then... display your window.
-
May 16th, 2000, 04:21 AM
#3
Your your App is rather large, than you could make a small program to do all of the time checking and when it's time, it uses the Shell statement to open your App.
-
May 16th, 2000, 07:18 AM
#4
Code:
Private Sub Form_Load()
Form1.Visible = False
Timer1.Interval = 10000
End Sub
Private Sub Timer1_Timer()
If Time = #6:00:00 PM# Then
MsgBox "It's Internet Time"
End If
End Sub
-
May 16th, 2000, 07:28 AM
#5
you could also use an api, like find window, or find window handle(I odnt know what they are called)
to launch the dialup box
the title bar of mine is
"Connect To"
-
May 16th, 2000, 07:29 AM
#6
ok, forgot my last post, i am not even sure if it will work...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|