The problem is not in the

The problem is not in the wizard. The problem comes from the Application.Run().

When running the app in VS it catches the exception in the try-catch block to help the developer.

When the app is running out of the VS the try-catch block doesn't handle the exceptions that are thrown by the gui created by calling Application.Run(). To handle these exceptions you should use Application.ThreadException.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <br> <code> <dd> <dl> <dt> <hr> <h1> <h2> <h3> <i> <img> <li> <ol> <p> <pre> <table> <td> <th> <tr> <tt> <u> <ul>
  • Images can be added to this post.

More information about formatting options