Solved

Restric single instance of application

Posted on 1998-08-03
3
123 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
Comment Utility
make SUB MAIN  your startup-procedure then

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

Author Comment

by:monalisa
Comment Utility
thank you
0
 

Author Comment

by:monalisa
Comment Utility
thank you
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now