I have a simple windows application that pops up an input box for users to enter in a date to do searches.
How do I identify if the user clicked on the Cancel butt
I like using the IsNullOrEmpty method of the class String like so...
input = InputBox("Text:") If String.IsNullOrEmpty(input) Then ' Cancelled, or empty Else ' Normal End If