Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I Reboot Windows?
Message
De
16/10/1999 23:51:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00277082
Message ID:
00277383
Vues:
30
>Working late again Doug?
>
>>> at 2130PM
>
>In our house Gracie is a cat (:
>>>say goodnight Gracie and put the computer to sleep but before turning the lights out put out the dog. (ie. Close all the other open applications)
>
>Why a .WAV file? No one would be arround at that hour to hear it.
>
>>>Now in a perfect world I'd *really* like to have a .WAV file tha said, "Your time is up!" too. < BG >
>>
>
>And that's what I've come to expect from you.
>>Best,
>
>It's the ol Giggrey Pokery of INT 21 and as you know nothing can withstand that. (:
>>Does this also close all other open applications?
>
>Just set a timer event to go off at 2130.01 and do a close data then call the reboot. It should close anything on the desk top, but watch out for unsaved files of other window apps. You could use ole to see if you could save and close them also.
>
>But I'm sure you already thought of that.
>
>How's the new house planning going? Have you broken ground yet or just wind? (:
>
>Mark

Mark,

*rof'l*

You're sure on one tonight. < g >

George gave me a good approach with his little program. The combination of each form having a timer object that automatically knew how to shut the form down after "X" amount of time is my basic approach. Then I just instantiate it with the scheme I want (with respect to how often the timer event gets queried) and I'm ready to rock and roll. From 0700 -> 1800 I check each 30 minutes, from 1801 -> 2000 I check each 15 minutes and 5 for all the rest.

BTW, thanks for the very nice words. Appreciated. I enjoyed chatting with you yesterday and sorry I didn't call today as I had promised. What with an all day seminar at my church and finding out that my grandmother died yeaterday it's been a little hectic. She was 99 years old and still alert but her body just quit. Quite a lady. I'l miss her but I rejoice in her life. It was full and the last time we talked she told me she was tired and was ready to go be with the Lord. Apparently she just went to sleep and didn't wake up.

Perhaps I will get a chance to call you tomorrow.

Best,
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform