473,461 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Limit Application to a Single Instance

Hi,

I am attempting to limit an application so that the user cannot open a
second instance of the application. Any clues? Thanks,
--
GrandpaB
Nov 23 '05 #1
4 2421
CT
Check this out:
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"GrandpaB" <Gr******@discussons.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hi,

I am attempting to limit an application so that the user cannot open a
second instance of the application. Any clues? Thanks,
--
GrandpaB

Nov 23 '05 #2
see this thread

http://groups.google.com/group/micro...9b5ad8b16ab96e
this shows a mutex version that is also Terminal server compatible :-)

regards

Michel Posseth
"GrandpaB" wrote:
Hi,

I am attempting to limit an application so that the user cannot open a
second instance of the application. Any clues? Thanks,
--
GrandpaB

Nov 23 '05 #3
"GrandpaB" <Gr******@discussons.microsoft.com> schrieb:
I am attempting to limit an application so that the user cannot open a
second instance of the application.


<URL:http://www.yoda.arachsys.com/csharp/faq/#one.application.instance>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 23 '05 #4
Thanks to all of you. I've yet to implement a MUTEX function, but from the
responses you have provided I'm sure that it will plug another hole in my
knowledge of VB .Net.

Thanks again,
--
GrandpaB

Nov 23 '05 #5

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

Similar topics

5
by: Richard | last post by:
Hi, Is there an easy way to limit a .NET application to a single running instance, ala like checking the hPrevInstance in MFC? October 2003 MSDN only has old samples that use named mutexes; is...
2
by: Alper AKCAYOZ | last post by:
Hello, I have developped an application used by Windows Forms (.NET) at Visual C++ ..NET v2003. I would like to limit my application to one instance working at a moment. More than one working...
9
by: MrSpock | last post by:
1. Create a new Windows Application project. 2. Open the project properties and check "Make single instance application". 3. Build. 4. Go to the release folder and run the application. 5. Try to...
16
by: google | last post by:
Hello, I am working on an Acc2003 app for my company. In the interest of reducing chances of corruption due to unstable network connectivity, I would like to either prevent users from running it...
3
by: sadanjan | last post by:
Hi , Appreciate if someone can clarify if database Share Memory Limit (2 GB ) in Unix 32 bit boxes is the top limit for all the databases put together in a database or is it for each of the...
20
by: Boki Digtal | last post by:
Hi All, How to limit the c# program can only run one instance at the same time ? Thank you! Best regards, Boki.
2
by: D. Susman | last post by:
Hi, I know that this issue is indeed strictly operating system dependent but I am just curious: I have a five dimensional array, whose size sums to 68 MB (almost). This array is contained by...
8
by: JS | last post by:
Using Visual Studio 2008 I want to prevent myconsoleapp.exe from executing multiple times on a given Windows host. The desire is, if a user launches myconsoleapp.exe a second time the second...
3
by: Joseph Geretz | last post by:
I'm implementing a web application whose purpose in life is to act as a data conduit. Data is posted to my Web app in XML format, my application examines the data and forwards it onward by posting...
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
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
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
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,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.