system control program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • codechalie
    New Member
    • Jan 2008
    • 3

    system control program

    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
  • codechalie
    New Member
    • Jan 2008
    • 3

    #2
    system control program

    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

    Comment

    • MindBender77
      New Member
      • Jul 2007
      • 233

      #3
      Originally posted by codechalie
      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:
      Code:
      My.Computer.Clock.LocalTime
      Hope this Helps,
      JS

      Comment

      • VACEPROGRAMER
        Banned
        New Member
        • Nov 2007
        • 167

        #4
        Yes that code is useful and I have use.

        /* Have a nice day */

        Vace

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #5
          codechalie, what do you mean precisely by "analyse the time systematically" ?

          MindBender77 and VACEPROGRAMMER, that's not VB6 code.

          Comment

          • daniel aristidou
            Contributor
            • Aug 2007
            • 494

            #6
            Originally posted by codechalie
            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...
            [CODE=vb] Private Sub Timer_Tick
            if Now = "Specified time" then
            End if
            End sub
            [/CODE]

            Comment

            • Killer42
              Recognized Expert Expert
              • Oct 2006
              • 8429

              #7
              This thread has been posted twice, so I'm going to merge the two.
              Last edited by Killer42; Jan 29 '08, 01:08 AM.

              Comment

              • VACEPROGRAMER
                Banned
                New Member
                • Nov 2007
                • 167

                #8
                Ok I know. Its VB 2003 code
                Vace

                Comment

                • WinblowsME
                  New Member
                  • Jan 2008
                  • 58

                  #9
                  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

                  Comment

                  • hackman
                    Banned
                    New Member
                    • Apr 2008
                    • 3

                    #10
                    Originally posted by WinblowsME
                    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

                    Comment

                    Working...