In a VB program I have an input box in which there is a ok button and a cancel button. I would like to know how to change the default result of clicking the cancel button. Right now it is set so that when the cancel button is clicked, "" is returned as a result. The problem is that sometimes the input box is required to be blank. As a result, any code to follow the cancel response "" (exit that part of the program), runs when someone enters a blank in the input box. There has to be some way to get around this. Any ideas?
Thanks in advance