Solved

Open one instance only of exe file

Posted on 2003-11-09
3
461 Views
Last Modified: 2010-05-01
How would one make a VB6 exe open only one instance?

   - Marc
0
Comment
Question by:MarcGraff
3 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 250 total points
ID: 9712104
if app.PrevInstance = true then
  msgbox "application already open"
end if
0
 
LVL 1

Assisted Solution

by:JonothanTompson
JonothanTompson earned 50 total points
ID: 9712109
Private Sub Form_Load()
If App.PrevInstance = True Then
    End
End If
End Sub


Jonothan
0
 
LVL 1

Author Comment

by:MarcGraff
ID: 9712126
Thank you!

   - Marc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 64
MS Date Picker 64 bit 32 bit issue 12 61
Add a task in Outlook from access 11 42
Error with a code discussed on this page 5 33
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

830 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