By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,661 Members | 779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,661 IT Pros & Developers. It's quick & easy.

system control program

P: 3
Hi all the programmers, codechalie having a problem overe here am writing a program that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Jan 25 '08 #1
Share this Question
Share on Google+
9 Replies


P: 3
Hi all the programmers, codechalie having a problem overe here am writing a program in vb6 that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Jan 25 '08 #2

MindBender77
100+
P: 234
Hi all the programmers, codechalie having a problem overe here am writing a program in vb6 that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Have you tried something like:
Expand|Select|Wrap|Line Numbers
  1. My.Computer.Clock.LocalTime
  2.  
Hope this Helps,
JS
Jan 25 '08 #3

VACEPROGRAMER
100+
P: 168
Yes that code is useful and I have use.

/* Have a nice day */

Vace
Jan 25 '08 #4

Expert 5K+
P: 8,434
codechalie, what do you mean precisely by "analyse the time systematically"?

MindBender77 and VACEPROGRAMMER, that's not VB6 code.
Jan 27 '08 #5

daniel aristidou
100+
P: 491
contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
What do you mean by systematically.......
Why dont you use a timer.....
Depending on how accurate you want the command to be executed
adjust the timer....... and format now Accordingly...
Expand|Select|Wrap|Line Numbers
  1.  Private Sub Timer_Tick 
  2. if Now = "Specified time" then
  3. End if
  4. End sub
  5.  
Jan 28 '08 #6

Expert 5K+
P: 8,434
This thread has been posted twice, so I'm going to merge the two.
Jan 29 '08 #7

VACEPROGRAMER
100+
P: 168
Ok I know. Its VB 2003 code
Vace
Jan 30 '08 #8

P: 58
Hi all the programmers, codechalie having a problem overe here am writing a program that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Is this automation of some sort? If so, why not use the Task Scheduler to run your program?

Start -> Settings -> Control Panel -> Schedule Tasks
Jan 30 '08 #9

P: 3
Is this automation of some sort? If so, why not use the Task Scheduler to run your program?

Start -> Settings -> Control Panel -> Schedule Tasks

When i run what i will do with this program!!!!!



HACKER OF RUSSIA
Apr 22 '08 #10

Post your reply

Sign in to post your reply or Sign up for a free account.