maliasghar
New member
- Joined
- Jul 8, 2005
- Messages
- 1
- Programming Experience
- 1-3
Hello All,
I have this question.
I have these two forms, parentForm and childForm. Within the parentForm, i declare an object of childForm and instantiate it as well, but do not show it as yet:
dim temp as childForm
temp = new childForm
Within the parentForm, I create a new thread of one of the functions. From within this function, I call to show the childForm:
private sub functionthread()
...
childForm.show()
...
end sub
But the problem, is that the form doesn't show up. The functionthread ends soon. I think this problem has something to do with threading. because as soon as the thread ends, the form disappears too, although it was not being instantiated from within the thread. it was only being showed. Can someone help me on this?
Thanks
I have this question.
I have these two forms, parentForm and childForm. Within the parentForm, i declare an object of childForm and instantiate it as well, but do not show it as yet:
dim temp as childForm
temp = new childForm
Within the parentForm, I create a new thread of one of the functions. From within this function, I call to show the childForm:
private sub functionthread()
...
childForm.show()
...
end sub
But the problem, is that the form doesn't show up. The functionthread ends soon. I think this problem has something to do with threading. because as soon as the thread ends, the form disappears too, although it was not being instantiated from within the thread. it was only being showed. Can someone help me on this?
Thanks