?
Solved

Prevent Win'95 shutdown

Posted on 1998-02-05
6
Medium Priority
?
141 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 400 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

800 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