Here is the code arround line 198:

Code:
            frmPartSelect.ShowDialog()

            If strSelectedShort <> "CANCEL" Then
                frmMain.ShowDialog()
            End If
line 198 is:

frmMain.ShowDialog()