B
Basavaraj
Hi All,
I have a member variable which represents Word.Application. THe problem is ,
i am trying to open any number of documents using this same application
object and once all the documents are closed manually, my application object
is no more valid.
Then i tried to create this application object when i want to open the word
document and then delete that when i finished adding data to word and then
open that document. Then i delete this application object, but when user
closes this document manually (not the application!!! aplication is still
visible)..then that application instance is not usable anymore..I mean, when
i try to open another document programatically, i will be creating a new
application object, so, even though this application is empty without any
documents, it opens the document with other application instance.
Can somebody suggest me where i should correct myself..I am focussing mainly
on the first method.
Thanks and regards,
-Basavaraj
I have a member variable which represents Word.Application. THe problem is ,
i am trying to open any number of documents using this same application
object and once all the documents are closed manually, my application object
is no more valid.
Then i tried to create this application object when i want to open the word
document and then delete that when i finished adding data to word and then
open that document. Then i delete this application object, but when user
closes this document manually (not the application!!! aplication is still
visible)..then that application instance is not usable anymore..I mean, when
i try to open another document programatically, i will be creating a new
application object, so, even though this application is empty without any
documents, it opens the document with other application instance.
Can somebody suggest me where i should correct myself..I am focussing mainly
on the first method.
Thanks and regards,
-Basavaraj