Closing Images

The following code closes the active image but gives me a 'are you sure' prompt, which I don't want. 
I tried setting 'showprompt' property to False but it didn't solve the problem. What property should I use?

   Public Sub button4_Click(sender As Object, e As System.EventArgs) Handles button4.Click
        With Adjust.ImageCommands.Close(Nothing)
        End With

    End Sub

Best Answer


  • very helpful, thanks

  • Paul --

    You may find the code below appropriate for another CLOSE IMAGE(S) situation.

    I hope this information is helpful.

    -- Matt


            'Close all open images without prompting the user
Sign In or Register to comment.