English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I was wondering, if i wrote a program in visual foxpro, could i put the executable in win98 shutdown anywhere? its just a message box. I wrote a program that works for startup, im just wondering how i do it for shutdown?

2006-07-10 05:30:56 · 3 answers · asked by daniel e 3 in Computers & Internet Programming & Design

3 answers

No can do. You'd need a more powerful programming language like VB, C++ or Delphi.

2006-07-10 05:52:21 · answer #1 · answered by Beatmaster 4 · 0 0

Well, this is one way of doing it: Have your program run at startup but have it hidden. Then have it display your message during it's own shutdown, which will happen when Windows shuts down.

I don't really know - just a guess.

2006-07-10 05:33:47 · answer #2 · answered by Anonymous · 0 0

Put this command line in your program
C:\WINDOWS\system32\shutdown -s

shutdown is an .exe file (i.e. shutdown.exe), so when you add that command line, make sure to include the dot exe

2006-07-10 05:42:19 · answer #3 · answered by HotRod 5 · 0 0

fedest.com, questions and answers