kevinf2349
Technical User
Hi
I want a user to be able to select a file (or files) that will be used the very first time they use an application. This value will be stored in the registry until changed by the user.
The application program startup is set to Form1 and the Form1 load event establishs some defaults and when it finds the registry key for the input value is blanks it pops up another form (frmSelection) with the ShowDialog method.
This is working fine, however control never seems to return to the Form1 load procedure. If I use Dispose then Form1 gets loaded but none of the buttons work and I have to nix the program from task manager.
The form frmSelection is also used to change the selected file at anytime after the intial launch.
What am I doing wrong? How can I throw up a selection form and still get Form1 to continue loading?
Any help greatly appreciated.
I want a user to be able to select a file (or files) that will be used the very first time they use an application. This value will be stored in the registry until changed by the user.
The application program startup is set to Form1 and the Form1 load event establishs some defaults and when it finds the registry key for the input value is blanks it pops up another form (frmSelection) with the ShowDialog method.
This is working fine, however control never seems to return to the Form1 load procedure. If I use Dispose then Form1 gets loaded but none of the buttons work and I have to nix the program from task manager.
The form frmSelection is also used to change the selected file at anytime after the intial launch.
What am I doing wrong? How can I throw up a selection form and still get Form1 to continue loading?
Any help greatly appreciated.