Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Problem using Word.Application object

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Basavaraj - 16 Dec 2004 04:49 GMT
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
Tom Winter - 17 Dec 2004 18:55 GMT
I would suggest you post some of your code and point out where any errors
are getting raised.
Signature

Tom Winter
Tom@NoSpam.AmosFiveSix.com
www.AmosFiveSix.com

> Hi All,
> I have a member variable which represents Word.Application. THe problem is ,
[quoted text clipped - 16 lines]
> Thanks and regards,
> -Basavaraj
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.