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 / July 2005

Tip: Looking for answers? Try searching our database.

Documents.Open Causes Terminating Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George Lee - 20 Jul 2005 20:02 GMT
The following Open code generates a hard kind that terminates the application
and never gets trapped. It shows up only on Windows 2000 or Word 2000 and is
fine on XP or later (and is developed on Windows XP with Word 2003).

   Dim wordApp As Word.Application
   Set wordApp = New Word.Application
   wordApp.Documents.Open "d:\some_file_name"

Is there a reason for this? What is the work around?
Word Heretic - 22 Jul 2005 01:37 GMT
G'day "George Lee" <GeorgeLee@discussions.microsoft.com>,

If Tasks("Word.exe").Exists then 'reuse it

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

George Lee reckoned:

>The following Open code generates a hard kind that terminates the application
>and never gets trapped. It shows up only on Windows 2000 or Word 2000 and is
[quoted text clipped - 5 lines]
>
>Is there a reason for this? What is the work around?
 
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.