|
-
Jan 30th, 2002, 03:30 PM
#1
Thread Starter
New Member
How to build a Vb application sitting in the task bar after windows startup?
Hi folks,
I want to build a VB application which can sit in the task bar after
windows start up and schedule do some job every about 10 hours.
Your generous help is appreciated!
Cheer!
-
Jan 30th, 2002, 04:17 PM
#2
See this link regarding how to get your app in the system tray.
To make your App run at startup, either put it in the Start Up folder, or add a registry entry to the following path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run.
-
Jan 30th, 2002, 11:08 PM
#3
Lively Member
Then use GetTickCount() to check if 10 hours have past.
Private Declare Function GetTickCount& Lib "kernel32" ()
Private Sub Something()
tic& = ((GetTickCount&) / 60000)
MsgBox Str$(tic&)
End Sub
-
Jan 31st, 2002, 10:05 AM
#4
Thread Starter
New Member
Cool, more question if you donot mind.
Thanks Megatron and Akia ,
I want the VB application be triggered automatically to do something every ten hours when it is dormant at the system tray.
Thanks
-
Jan 31st, 2002, 12:41 PM
#5
Use a timer to check the system time at a designated interval, and do something when a specific time is reached.
-
Jan 31st, 2002, 02:30 PM
#6
Thread Starter
New Member
It works! Thanks folks!
It works!
Have a nice day, hack!
-
Jan 31st, 2002, 03:02 PM
#7
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
|