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

P: 28

I am using a OLE unbound Control to Embed the word document in the form load, event like this

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 :

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...

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

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


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.