473,396 Members | 1,933 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.

How to know if instance is already running

In Access 2000, Win NT, Citrix, we have each user opening the front end mdb
in their own folder, and linnking to the back end. I've noticed that a user
can get more than one instance open at a time if they are not careful.

Is there a way to have an instance of Access check to see whether there is
another one already open for this user, and if so, simply to maximize the
window of the already running instance?

Thanks
Mike Thomas
Nov 12 '05 #1
3 4546
I don't know if this will work in Terminal Services or Citrix, but here is
an example you can try.

http://www.mvps.org/access/api/api0041.htm

--
Wayne Morgan
Microsoft Access MVP
"Mike Thomas" <mi**@ease.com> wrote in message
news:iT********************@newssvr28.news.prodigy .com...
In Access 2000, Win NT, Citrix, we have each user opening the front end mdb in their own folder, and linnking to the back end. I've noticed that a user can get more than one instance open at a time if they are not careful.

Is there a way to have an instance of Access check to see whether there is
another one already open for this user, and if so, simply to maximize the
window of the already running instance?

Thanks
Mike Thomas

Nov 12 '05 #2
Try looking here...

http://www.mvps.org/access/api/api0007.htm

Mike Storr
www.veraccess.com
"Mike Thomas" <mi**@ease.com> wrote in message
news:iT********************@newssvr28.news.prodigy .com...
In Access 2000, Win NT, Citrix, we have each user opening the front end mdb in their own folder, and linnking to the back end. I've noticed that a user can get more than one instance open at a time if they are not careful.

Is there a way to have an instance of Access check to see whether there is
another one already open for this user, and if so, simply to maximize the
window of the already running instance?

Thanks
Mike Thomas

Nov 12 '05 #3
Many thanks,
The commonsense approach of opening the frontend exclusively was I had not
thought of.

Mike Thomas
"Wayne Morgan" <co***************************@hotmail.com> wrote in message
news:dF******************@newssvr33.news.prodigy.c om...
I don't know if this will work in Terminal Services or Citrix, but here is
an example you can try.

http://www.mvps.org/access/api/api0041.htm

--
Wayne Morgan
Microsoft Access MVP
"Mike Thomas" <mi**@ease.com> wrote in message
news:iT********************@newssvr28.news.prodigy .com...
In Access 2000, Win NT, Citrix, we have each user opening the front end

mdb
in their own folder, and linnking to the back end. I've noticed that a

user
can get more than one instance open at a time if they are not careful.

Is there a way to have an instance of Access check to see whether there is another one already open for this user, and if so, simply to maximize the window of the already running instance?

Thanks
Mike Thomas


Nov 12 '05 #4

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

Similar topics

0
by: Walter G | last post by:
I have a VB.Net application that can be executed with parameters. If parameters are received, the I execute a function that will open a form within the application. On top of that, I'd like to...
2
by: johnmann56 | last post by:
Hello. I have written a simple image viewer application using C# .NET. It only needs to display one image at a time. When a different program, in C, running on the same machine, does a...
3
by: Shawn | last post by:
how do i prevent the second instance of my app from being instanced when one is already running?
6
by: Dmitry Karneyev | last post by:
Hi! I guess this question have been asked a lot of times, but please be tolerant and if you have any ideas share it. The question is: how to make availibale only one instance of application and...
9
by: T Cordon | last post by:
How to determine if another instance of the application is running so that ir doesn't run multiple instances? Thanks
5
by: Adam Nowotny | last post by:
I want my application to be able to load most components it uses at user logon (f.e. by running "prog.exe /startup") and create a NotifyIcon to show up in tray. Now when i load the prog.exe second...
6
by: perera | last post by:
I want to create a MFC program *.exe. My reguirement is at a time only one instance can be run. In Other on mutile instnces can be run at a time
3
by: Mark Jerde | last post by:
VS 2005. When I google "CSharp single instance form" the returned pages usually use a Mutex or the VB.NET runtime library....
2
by: pamela fluente | last post by:
I have an application running. A file type is registered with this application. When the user click on a file of such type a new instance of the application is loaded with command line (file name)....
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.