Solved

Prevent Win'95 shutdown

Posted on 1998-02-05
6
139 Views
Last Modified: 2010-04-04
How can I prevent Win'95 from shutting down wilst my program is running.
0
Comment
Question by:Deep Diver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 2

Expert Comment

by:Waldek
ID: 1358344
In Canclose event You may set a false
0
 
LVL 2

Expert Comment

by:Waldek
ID: 1358345
In Canclose event You may set a false in main form of Your program
0
 
LVL 3

Accepted Solution

by:
Matvey earned 200 total points
ID: 1358346
You have the OnCloseQuery event for the main form in which you can set some var that is posted with it to false if you don't want your app to close, and if your app wont close then Win wont  close also.

Good luck!
Matvey
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:krisz
ID: 1358347
Is these worked? If not, there is another way.
0
 

Author Comment

by:Deep Diver
ID: 1358348
It works.....but not entirely as I`d like.
What is your suggestion "Krisz"
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1358349
Hi!

Sorry for the delay...
How exactly you want it to work?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question