473,396 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access 2002 Runtime Fails to End

I have now found that when a user, with Access 2002 Runtime, closes,
correctly, their database and then I look at Task Manager MSACCESS.exe
is still running. Unless that running process is killed the database
will not launch (i.e. Access won't allow a second version running?)

I've played around using the /runtime switch also and found that on
_one_ occasion that did the same.

Anyone aware of this 'bug' and also know how to cure it?

Thanks

Jon

Jan 29 '06 #1
2 1366
"J-P-W" <jo******@gmail.com> wrote in
news:11**********************@f14g2000cwb.googlegr oups.com:
I have now found that when a user, with Access 2002 Runtime,
closes, correctly, their database and then I look at Task
Manager MSACCESS.exe is still running. Unless that running
process is killed the database will not launch (i.e. Access
won't allow a second version running?)

I've played around using the /runtime switch also and found
that on _one_ occasion that did the same.

Anyone aware of this 'bug' and also know how to cure it?

Thanks

Jon

There are lots of possible reasons for access refusing to close.
The most common culprit is code which opens (sets) an object
reference but fails to close the object when finished with it.

if you :
Dim rs007 as recordset
set rs007 = currentdb.openrecordset(strSQL)
or
Dim frm01 as form
Set frm001 = mainform

You need to make sure that you:
rs007.close
set rs007 = nothing
frm001.close
set frm001 = nothing.

Many people say the "= nothing" is not required, others insist
it is.

--
Bob Quintal

PA is y I've altered my email address.
Jan 29 '06 #2
Thanks Bob, I've had a search through the code and there are some set
that aren't closed, so I've pepppered it with set xx = nothing's

Many thanks, Jon

Jan 29 '06 #3

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

Similar topics

14
by: wolftor | last post by:
1) Is there a free runtime version of Access available that is more recent than the one for Access 2000? 2) If I create an application (MDE) in A2K, will it run on all later versions of Access?...
3
by: Agent86 | last post by:
I have created install packages for my ade on mssql installation as a windows installer package in installshield and it all works fine except; 1. I want to determine whether Access 2002 is...
0
by: Colin Chudyk | last post by:
Hi, Here is my situation. Can anyone provide insight? I have developed a database in Access 2002. I am planning to distribute it as a split MDE (front) / MDB (back) to be used by the Access...
3
by: Colin Chudyk | last post by:
Hi, Here is my situation. Can anyone provide insight? I have developed a database in Access 2002. I am planning to distribute it as a split MDE (front) / MDB (back) to be used by the Access...
2
by: Jeff | last post by:
Does anyone know of any potential problems running a 2000 database with 2003? Also, what about installing all other Office products as 2003 versions but leaving Access as 2002 running a 2000...
4
by: Aliza Klein | last post by:
Apologies in advance as I am SURE this has been asked 100 times - but I haven't got a simple answer: I have MS Office XP Developer and have created an installation package (with the runtime) for...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
3
by: Bob Darlington | last post by:
I am looking at buying Installshield 11 Professional and Sagekey Access 2002 Runtime Object to facilitate the distribution of my Access 2002 application (having despaired with the PDW). One of the...
0
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.