dbTalk Databases Forums  

Access not shutting down when application closed

comp.databases.ms-access comp.databases.ms-access


Discuss Access not shutting down when application closed in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Br@dley
 
Posts: n/a

Default Access not shutting down when application closed - 05-21-2009 , 06:35 PM






I have an Access application that no longer shuts down properly. The
msaccess.exe process remains running in the background. Obviously
there is some code running that causes this but I can't track it down.
I've set all my database and recordset object references to Nothing.

Access 2000 SP3.
Vista Ultimate x64 SP1.
Split database (local Access data file).

Anything else I should be looking for?

regards,
Bradley

Reply With Quote
  #2  
Old   
Tony Toews [MVP]
 
Posts: n/a

Default Re: Access not shutting down when application closed - 05-21-2009 , 09:35 PM






"Br@dley" <bradley (AT) comcen (DOT) com.au> wrote:

Quote:
I have an Access application that no longer shuts down properly. The
msaccess.exe process remains running in the background. Obviously
there is some code running that causes this but I can't track it down.
I've set all my database and recordset object references to Nothing.

Access 2000 SP3.
Vista Ultimate x64 SP1.
Split database (local Access data file).

Anything else I should be looking for?
One person mentioned wonky DLookup for which the expression field didn't cause an
error message but was really strange.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/


Reply With Quote
  #3  
Old   
lyle fairfield
 
Posts: n/a

Default Re: Access not shutting down when application closed - 05-22-2009 , 04:15 AM



References to checkbox controls as in

If me.NameofCheckBox Then
some code

rather than
If me.NameofCheckBox.Value Then
some code

have been known to cuase the problem you describe.


On May 21, 7:35*pm, "Br@dley" <brad... (AT) comcen (DOT) com.au> wrote:
Quote:
I have an Access application that no longer shuts down properly. The
msaccess.exe process remains running in the background. Obviously
there is some code running that causes this but I can't track it down.
I've set all my database and recordset object references to Nothing.

Access 2000 SP3.
Vista Ultimate x64 SP1.
Split database (local Access data file).

Anything else I should be looking for?

regards,
Bradley


Reply With Quote
  #4  
Old   
Terry Kreft
 
Posts: n/a

Default Re: Access not shutting down when application closed - 05-22-2009 , 06:42 AM



This can be a horrible problem to resolve. You need to find the minimum
number of steps required to cause the condition and that will then narrow
down the code that runs which needs investigating.

You then can go throught this code to eliminate the usual suspects, if that
doesn't do it you need to rem out blocks of code until the problem goes away
and then investigate why the problem blocks are causing the problem.



--
Terry Kreft


"Br@dley" <bradley (AT) comcen (DOT) com.au> wrote

Quote:
I have an Access application that no longer shuts down properly. The
msaccess.exe process remains running in the background. Obviously
there is some code running that causes this but I can't track it down.
I've set all my database and recordset object references to Nothing.

Access 2000 SP3.
Vista Ultimate x64 SP1.
Split database (local Access data file).

Anything else I should be looking for?

regards,
Bradley



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.