Its been a while since I worked with VB6, so hang with me if this is stupid. How do I get past the Form.show method if I call it in a function? Here is the scenario.
Sub Whatever()
end sub
I want it to process the "Some More Code Here" portion after the form is shown. But it just shows the form and hangs until I close the form. Then it moves onto the "Some More Code Here" portion.
I tried moving "Some More Code Here" to the form load of frmProcess. The thing with that is once "Some More Code Here" is done, then I don't need the form up anymore. So putting it on form load never shows the form.
Its like I need another thread or something, but I don't think I can do that in VB6, right?
How can I just display the form and move on?
Sub Whatever()
Some Code Here
frmProcess.Show vbModal
Some More Code Here
frmProcess.Show vbModal
Some More Code Here
end sub
I want it to process the "Some More Code Here" portion after the form is shown. But it just shows the form and hangs until I close the form. Then it moves onto the "Some More Code Here" portion.
I tried moving "Some More Code Here" to the form load of frmProcess. The thing with that is once "Some More Code Here" is done, then I don't need the form up anymore. So putting it on form load never shows the form.
Its like I need another thread or something, but I don't think I can do that in VB6, right?
How can I just display the form and move on?
Comment