Solved

Closing Application

Posted on 1998-12-21
2
134 Views
Last Modified: 2012-05-04
Can the X button on the Mdi_Form be enabled an d disenabled.
For example have it enabled just when it is the mdi_form and dienabled when it is a child form. If so what property do I set.
0
Comment
Question by:calis
2 Comments
 
LVL 3

Expert Comment

by:jjbyers
ID: 1451720
Set the ControlBox to false on the child forms. This will remove the X and the control box on the top left of the form.
0
 
LVL 3

Accepted Solution

by:
myqlG earned 50 total points
ID: 1451721
Check into the Query_unload event.
and set the cancel=true
this will stop the closing of the form.

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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