?
Solved

program doesnt exit correctly

Posted on 2003-03-08
3
Medium Priority
?
133 Views
Last Modified: 2010-05-03
i have a form that loads.  User enters ID and pass.  If the password is correct for that ID then it loads a MDI form and other child form open up after that.  well, if the user closes the program with the X in the top right the program is still running in the process list.  But if they close it with my close button, it exits like it should.

I have a datbase connection, is that what might be keeping my program running?  is there a way i can execute commands then the user closes with the X?
0
Comment
Question by:kmorris1186
[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
3 Comments
 
LVL 7

Author Comment

by:kmorris1186
ID: 8094770
I just found it after i posted this question..

in the mdiform_unload

close the DE connection
then end..

can i remove this question??
0
 

Expert Comment

by:Divnn
ID: 8094778
Open your form then go to the code window select form on the right dropdown then unload on the left dropdown then close youdata connection.
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8094954
PAQ'd and points refunded.  

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 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