473,698 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSACCESS.exe process does not stop when user exits Access (revisited)

I found a post on this problem from 2004, but no one at that time
replied to it- I'm hoping to have better luck than the original author!

As the subject states, I'm running into a problem where the
msaccess.exe process does not end once a user exits a database. The
author referred to a possible connection to conditional formatting, and
I do use that feature a lot.

Any help would be appreciated...t hanks!

Jan 19 '06 #1
4 3712
Keith H. wrote:
I found a post on this problem from 2004, but no one at that time
replied to it- I'm hoping to have better luck than the original author!

As the subject states, I'm running into a problem where the
msaccess.exe process does not end once a user exits a database. The
author referred to a possible connection to conditional formatting, and
I do use that feature a lot.

Any help would be appreciated...t hanks!


My first guess, if i ran across this myself, would be to step through
all the code firing for form unload and form close events to make sure
there's not a form somewhere that has Visible=False, which isn't closing.

As I said, though, it's a guess.
Jan 19 '06 #2
This is not an easy problem to solve.

The first thing to do is establish the absolute minimum steps required to
cause the problem.
Once you've done that you know the bounds of the code to check.
Then concentrating on the code identified above step through checking that
any recordssets you open are closed and set to nothing any database objects
are set to nothing (if you create them using opendatabase then close them as
well), any forms/reports opened are closed and any object variables are set
to nothing (closed if appropriate).

You can then check for testing conditions where you use the default property
instead of specifying it; e.g.
If rs.fields(0) then ' relying on the default property

instead of
If rs.fields(0).Va lue = true then ' specifying the property.

If all this fails then report back and we'll see ifanything else can be
done.
--

Terry Kreft
"Keith H." <hi**********@h ol-mac.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
I found a post on this problem from 2004, but no one at that time
replied to it- I'm hoping to have better luck than the original author!

As the subject states, I'm running into a problem where the
msaccess.exe process does not end once a user exits a database. The
author referred to a possible connection to conditional formatting, and
I do use that feature a lot.

Any help would be appreciated...t hanks!

Jan 20 '06 #3
Thank you both for your replies. I was intimidated at first, since our
company has around 90 or so Access applications, but I believe I have
found the "offending" one. Terry, I am working on the "minimum steps"
portion of your message now- I am trying to recreate the event or
series of events that forces the process to stay running. Once I
recreate the problem, I'll check the underlying code of all open
objects.

Forgive me for my lack of coding experience, but I have a related
question: users here typically exit an application by just closing
Access. From the sound of both your replies, apparently that may not be
sufficient to clean up any open objects, recordsets, etc. Is that
correct?

Jan 20 '06 #4
If the code cleans itself up properly then that's OK.

--

Terry Kreft
"Keith H." <hi**********@h ol-mac.com> wrote in message
news:11******** ************@g1 4g2000cwa.googl egroups.com...
<SNIP>

Forgive me for my lack of coding experience, but I have a related
question: users here typically exit an application by just closing
Access. From the sound of both your replies, apparently that may not be
sufficient to clean up any open objects, recordsets, etc. Is that
correct?

Jan 20 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2409
by: Harald Armin Massa | last post by:
I need to do some synchronisations like in a cron.job import time from threading import Thread class updater(Thread): def run(self): while True: do_updates() time.sleep(600)
1
2126
by: Mike | last post by:
Using Windows XP SP-1 with all security udpates installed MS Access version 10.2627.3501 SP-1 (all service packs to be installed over the weekend) MDAC 2.8 Jet 4.0 SP 8 When the database and access are closed, the MSACCESS.EXE process is left running and will not allow another instance of Access to be opened until the original process has been terminated.
6
1785
by: David Sullivan | last post by:
Hi I have a problem with a database where certain users are closing access (by clicking on the X in top right-hand corner) instead of using a command button before they fill in all relevant fields. Q. Is there a way of not allowing them to exist access using the this way and use the command button? Thanks in Advance
29
4392
by: keredil | last post by:
Hi, Will the memory allocated by malloc get released when program exits? I guess it will since when the program exits, the OS will free all the memory (global, stack, heap) used by this process. Is it correct?
0
6710
by: Kirk | last post by:
The following C# web service works fine until you uncomment the lines setting UserName and Password. Then, Process.Start throws an Access is Denied Exception. This is with .NET 2.0, of course (1.1 does not support running a process as a different user). I'm running everything on Windows Server 2003. I have impersonation enabled in my web.config, and I'm using Integrated authentication on the IIS virtual directory that this aspx is in....
7
5140
by: dkarin00 | last post by:
I have a form with a number of bound text boxes on it. When the form opens, it retrieves data from a table. I want the user to change data in one or more of the text boxes without any data from the form updating the table until the user presses a "save" button. Simply, I want the user to see in the form the data that they want changed without it impacting the database in any way until a "save" button is pressed. I tried putting...
0
1464
by: Petra | last post by:
Hi! I don't know how to handle the following problem: When a User clicks on the detail view of an item, I lock the item in the database. If the user exits with clicking the cancel or ok button I unlock the item and everything works fine. But if the user exits just closing the explorer window or clicking on an other menu item in the frame, the item is still locked. I tried to load an aspx script which unlocks the item in the unload...
0
1082
by: vamsioracle | last post by:
hi all I just want to know what are user exits. Please provide me the detailed info about user exits in oracle reports thank you in advance
2
1969
by: gsherp | last post by:
How does one execute code when the user closes the browers window by clicking on the top right corner . I need to log out user and do a database write when the user closes the brower. I do these to clean up the database when the user exits before actually logging out. I was told to user pageX, but does not seem to work either. Again, I am having trouble with firefox. Thanks.
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.