Re: Final Word (?) on Timers



On Wed, 25 Apr 2007 08:44:53 -0500, Steve Kelley
<skelley@xxxxxxxxxxxxxxxxxxxxx> wrote:

Yet another option is to have a timer on the form and set the time out
value to 120000(ms) and enable it when the first batch file runs and run
the second batch file when the timer fires. You can disable your UI
elements to keep the user from interacting with your form until the
second batch file runs if needed. This way your system is not at all
tied down by any loop. This isn't technically a pause because your
program can keep processing after the timer is enabled but depending on
you your code is structured this may be OK.

Maybe - but I like the UI reacting

You really need to look into WaitMessage - it is a Lodestone

(Windows is really a cheat, so using the same tricks is .. well kind
of elegant)
.



Relevant Pages

  • Re: Final Word (?) on Timers
    ... You can of course pick and choose which UI elements are disabled so you could have any elements dependent on what happens after the timer fires disabled and have everything else enabled. ... value to 120000and enable it when the first batch file runs and run the second batch file when the timer fires. ... You can disable your UI elements to keep the user from interacting with your form until the second batch file runs if needed. ...
    (comp.lang.basic.visual.misc)
  • Re: Read argments from text file and pass on to another file
    ... Specifically what I want to do is run a batch file (which would include ... The second.bat file includes the copy, make folder commands like... ... MD new1 ... What's wrong with "calling" the second batch file, ...
    (microsoft.public.scripting.vbscript)
  • Re: Read argments from text file and pass on to another file
    ... Specifically what I want to do is run a batch file (which would include ... The second.bat file includes the copy, make folder commands like... ... What's wrong with "calling" the second batch file, ... @echo off ...
    (microsoft.public.scripting.vbscript)
  • Re: Beginner needs help with text files
    ... Thanks for the help with the batch file. ... Shell, vbNormalFocus ... hiding the first batch file. ... How can I get the users path (inputbox) to be used in other parts of my ...
    (microsoft.public.vb.general.discussion)
  • Re: How to copy files to 1 folder?
    ... I am unable to reconcile these two statements: ... "I have several thousand random file names" and ... "Can a batch file do this in a file of say 30?" ... some experience with the first batch file I wrote ...
    (microsoft.public.windowsxp.general)