heartland
asked on
Pause process until sub-process completes
Hi,
There are two processes in the form1:
process 1
process 2
the process 1 will call a sub that will show form2 and take user input. The process 2 should pause while user inputs values and resume after the user closes the form2. What is best way to do it? I used to pass a variable from very bottom sub to top to start process 2. This is not very elgant. I am new to VB.net and never used threading or waithandle before. Thanks in advance.
Heartland
There are two processes in the form1:
process 1
process 2
the process 1 will call a sub that will show form2 and take user input. The process 2 should pause while user inputs values and resume after the user closes the form2. What is best way to do it? I used to pass a variable from very bottom sub to top to start process 2. This is not very elgant. I am new to VB.net and never used threading or waithandle before. Thanks in advance.
Heartland
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim f as new form2
f.showdialog()
Heartland