When using the self extracting zip file dialog a user receives an error stating "An error occured while unzipping. One or more files were not successfully unzipped. The error is 40." The problem is that the user enters something like "test " into the destination folder text box within the xceed seft extracting dialog, and then a folder named "test" is created within the same directory that the .exe was launched from. However, none of the files from the zip file were added to the directory. If the user enters "test" within the textbox then everything works perfectly.
Is there a way I can correct to trim the destination folder of leading and trailing spaces?