Solved

Restric single instance of application

Posted on 1998-08-03
3
145 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

773 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