Solved

Restric single instance of application

Posted on 1998-08-03
3
156 Views
Last Modified: 2010-05-03
how can I restrict the user to have only one unstance of application running on his desk top. I am using VB 5.0
0
Comment
Question by:monalisa
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
anthonyc earned 10 total points
ID: 1467584
make SUB MAIN  your startup-procedure then

if app.previnstance then
  msgbox "I'm running already"
  end
end if
0
 

Author Comment

by:monalisa
ID: 1467585
thank you
0
 

Author Comment

by:monalisa
ID: 1467586
thank you
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question