Solved

Prevent Win'95 shutdown

Posted on 1998-02-05
6
130 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

13 Experts available now in Live!

Get 1:1 Help Now