CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    israel
    Posts
    52

    How to time my APP..?

    Hello,
    I would like to be able to run my V.B. project in a certain time chosen by the user in this project(i.e. from 14:32 -> 16:54 ).How can I do this? Is this thru API or V.B...???
    Also, is there a possibilty to make the project run but not to start with the first form..?

    Please shed me some light on this.
    Thank-you!!

    LED

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to time my APP..?

    you can start your program with "Sub Main".
    Just create a standard module and write a proc
    Sub Main
    ..
    end sub

    Then in your project properties choose "sub main" as the starting point.

    In order to start your program at a certain time use any of the schedulers, e.g. NT's "AT" command.

    You could also run your program all the time and have the program "look at the time" at regular intervals and then start the processing whenever you think it's necessary.


  3. #3
    Join Date
    May 1999
    Location
    israel
    Posts
    52

    Re: How to time my APP..?

    Hello LOTHAR,
    I did not quite understand how to use this 'NT' command. Can you please send me a code-example or refer me to an exisiting one ?
    Thank-you!

    LED

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured