TIP: Click on subject to list as thread! ANSI
echo: delphi
to: HENK KOUWEN
from: GARY WEINFURTHER
date: 1996-12-26 13:50:00
subject: shutting a programm down and close Windo13:50:2612/26/96

Henk Kouwen mentioned this to All:
 HK> Starting a programm is possible with the Startup group, and i can
 HK> start a programm up from within a Delphi programm, but how to close
 HK> this programm after a certain time??
You need a timer that checks the system time each time its event is fired. 
When it is time to close the program, simply close all the forms.  To shut 
down Windows, look up the ExitWindows API function.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.