Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Waiman Andrews
  Where is Waiman Andrews?
 
 United Kingdom
 Waiman Andrews
 To: Tamar Granor
  Where is Tamar Granor?
 Elkins Park
 Pennsylvania - United States
 Tamar Granor
 Tags
Subject: RE: Office Automation Word 2010
Thread ID: 268592 Message ID: 268967 # Views: 30 # Ratings: 0
Version: Visual FoxPro 8 Category: Active X Controls & OLE Automation
Date: Thursday, July 15, 2010 5:52:37 PM         
   


> >
> >
> > Hi there
> >
> > I also have some code which uses the Word.Application object to open a document in word, and I still get similar problems with the object not being created/instantiated when a user has certain versions of Word 2010 installed. Are there other ways of implementing Office automation, asre am I just mising something?
> >
>
> I haven't heard anything about some editions of Word 2010 not supporting Automation, so I assume they all do.
>
> So what are the symptoms you're seeing? Errors? Something else?
>
> Any chance that the users with Word 2010 have also moved to Vista or Win7 and what you're actually seeing is files not landing up where you expect them to because of UAC?
>
> Tamar

Hi there,

After a bit of digging, this is what I have found. It appears to be a problem if the user has installed a Click-to-Run version of Office, which does not put an installed copy of windword.exe on their PC, but installs a load of files onto a Q: drive and runs virtualised. If the user has another version of office installed and winword.exe was installed with that, the automation will work. Alternative if the user runs the full classic (MSI based) install, winword.exe will get installed along with relevant registry keys and automation works. See link below:


http://social.technet.microsoft.com/Forums/en/office2010/thread/1b8dc35b-c5e4-49b0-bf61-a0402898317d

ENTIRE THREAD

Office Automation Word 2010 Posted by Waiman Andrews @ 7/13/2010 1:36:18 PM
RE: Office Automation Word 2010 Posted by Tamar Granor @ 7/13/2010 11:10:40 PM
RE: Office Automation Word 2010 Posted by Waiman Andrews @ 7/14/2010 11:40:21 AM
RE: Office Automation Word 2010 Posted by Tamar Granor @ 7/14/2010 10:35:48 PM
RE: Office Automation Word 2010 Posted by Waiman Andrews @ 7/15/2010 5:52:37 PM