Problem using Word.Application object

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
 
T

Tom Winter

I would suggest you post some of your code and point out where any errors
are getting raised.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top