Hey, I am doing a little program that is connected to the database and keeps track of users using the program also, for example when someone opens the program it adds one to the users number in the database, what I need to do is to see when user presses the red close button on my program(the normal X on the right corner) to minus one from the users, how would I do that, is there like onExit event or something?
Silvershaft 2 Junior Poster
WolfPack 491 Posting Virtuoso Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.