By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,662 Members | 1,765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,662 IT Pros & Developers. It's quick & easy.

WINWORD.EXE not ends in word 2007 when Embedding word document in OLE UNBOUND CONTROL

JAMBAI
P: 28
Hi,

I am using a OLE unbound Control to Embed the word document in the form load, event like this
http://support.microsoft.com/kb/209990

and When i double clicks (In Place activation), the documents gets activated (A WINWORD.EXE process is opened) and i can edit the document and in the button click event i am saving the document like this :

http://support.microsoft.com/kb/132003

and I could save the document.

But the WINWORD.EXE process is not closed and keeps running only in Word 2007. So when i run the same form next time, i couldn't access the template file and it says already opened. Please help me...

Thanks
Harish
Apr 21 '10 #1
Share this Question
Share on Google+
1 Reply


MMcCarthy
Expert Mod 10K+
P: 14,534
You need to quit the application. Something like ..

Me![OLEWordDoc].Quit

Not sure if that syntax will work but you get the idea.
Apr 22 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.