PrivateSub
New member
- Joined
- Jun 25, 2007
- Messages
- 2
- Programming Experience
- 3-5
Hi guys,
I am a newbie here, so please be gentle! Hahahahaahahahahah
I am working a vb.net project and i am facing this tiny little BIG problem!
I have a form that needs to open a word control inside it. But it takes too long to load the control....So i've come up with this idea...When loading the whole project, i'm opening a new thread so the word control loads in it. So when i open the other form, the word control loads quicker than earlier. But i have this tiny little BIG problem as i mentioned...
In the frmMain_Closing event (closing event of the whole project) i try to dispose or close the winword.exe process (from task manager) but it doesn't work.
Is it maybe because this process belongs to another thread than the one that opened the whole project?
Take in consideration that i use the thread.abort command....
Any help??
I am a newbie here, so please be gentle! Hahahahaahahahahah
I am working a vb.net project and i am facing this tiny little BIG problem!
I have a form that needs to open a word control inside it. But it takes too long to load the control....So i've come up with this idea...When loading the whole project, i'm opening a new thread so the word control loads in it. So when i open the other form, the word control loads quicker than earlier. But i have this tiny little BIG problem as i mentioned...
In the frmMain_Closing event (closing event of the whole project) i try to dispose or close the winword.exe process (from task manager) but it doesn't work.
Is it maybe because this process belongs to another thread than the one that opened the whole project?
Take in consideration that i use the thread.abort command....
Any help??