Drew Taylor

Drew Taylor

  • NA
  • 70
  • 0

Exception Handling

Jun 14 2007 9:03 AM

I have a browse button which allows users to browse folders, when the folder has been selected it is put into a textbox, the user then clicks a button to open the folder.

What sort of exception handling do I need for the open button? If you click it when there is no path in the textbox the program stops. I tried something like:

if textbox1.text = true;

but didn't work, please help if you know how!


Answers (7)