Home Image-Pro General Discussions

Closing an APP from within the CODE . . .

All --

I would like an APP to close if certain conditions are met.

I would like the CODE to be able to "X" out of the APP like I can on the APP TITLE BAR.

How can I (gracefully) close an APP from within the CODE?


-- Matt

Best Answer

  • Answer ✓
    Hi Matt,

    This code will close app:

        Private Sub button1_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles button1.Click
        End Sub


  • Nikita --

    Thank you for the response and the example code it contains.

    That works great.

    Thanks again.

    -- Matt
Sign In or Register to comment.