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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JAMBAI
    New Member
    • Feb 2007
    • 28

    #1

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

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

    Thanks
    Harish
Working...