yeah, if the user click cancel button, its will terminate whole program, and if user jabe yet type any string in the input textbox, it's will promt it again.marble_eater said:Are you trying to make the program end when the user clicks cancel? Or is it happening and you dont know why?
If the Cancel button on the InputBox is clicked it returns a Null String. You could check and see if your variable msg (from your first post) is Null or not and code accordinglybshaen said:yeah, if the user click cancel button, its will terminate whole program, and if user jabe yet type any string in the input textbox, it's will promt it again.