Solved

Prevent Win'95 shutdown

Posted on 1998-02-05
6
132 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 263
Send message from delphi to whatsapp, is it possible? 3 1,153
Delphi - replicating a form 8 64
Delphi selector screen 2 69
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now