Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open the program only once

Status
Not open for further replies.

stream2000

Programmer
Aug 17, 2002
6
US
Hi there,
I am curently working on a project an i've encountered some problems.
I don't know how to make the program open only once.
I've tried to put a flag in the registry - 0 when the program isn't running
- 1 when the program is running
But There is a problem when the program is running when closing Windows , because the window isn't destroying so the flag remains 1.
I'd apreciate if you help me with a windows shutdown message or with another idea.
 
Please take a look at thread116-303574 in this forum
Marcel





Marcel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top