Discussion Locked

VB6 - Running only one app instance...

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have written a small VB application and I would like to ensure that I only run one instance of it at a time. Currently if I run the app it comes up, and if I run it again, another instance runs. What I would like is to ensure that if the app is running in the background or as a minimised window, clicking on the exe file simply gives the app focus.

Thanks...

4 replies

by cooger

Thanks for your help..... I've read the article and implemented it in my app......and it works quite nicely!!

This discussion is closed to new replies.