Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Tamar Granor
  Where is Tamar Granor?
 Elkins Park
 Pennsylvania - United States
 Tamar Granor
 To: Matin Aziz
  Where is Matin Aziz?
 New York
 New York - United States
 Matin Aziz
 Tags
Subject: RE: Version of Microsoft Office installed
Thread ID: 345351 Message ID: 345607 # Views: 24 # Ratings: 0
Version: Visual FoxPro 8 Category: Microsoft Office Automation
Date: Thursday, May 24, 2012 10:27:38 PM         
   


> >
> > I don't know. It's working for me in Win 7 64-bit, but I'm using the 32-bit version of Office.
> >
> > Try testing AGetFileVersion() from the Command Window by just giving it the path to the EXE directly. That way, you can see whether that's the problem. If it is, you should be able to find an API function that does the same thing for 64-bit EXEs.
> >
> > Tamar
>
> I just tested:
>
> AGetFileVersion(aVersionInfo, "c:\Program Files\Microsoft Office\Office14\excel.exe")
> 

> from the command window pointing to the exe and the array is created with the correct info. It looks like the checkserver function in not locating the EXE.

That's interesting, since GetServer is working for me on a 64-bit machine. Okay, just tried with "InternetExplorer.Application" since it seems a safe bet that's 64 bit. Turns out it returns the one in the "Program Files (x86)" hierarchy, not the one in "Program Files."

I don't think I have any other 64-bit automation servers to test with.

Tamar

ENTIRE THREAD

Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:28:03 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 8:39:14 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:45:00 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 8:50:13 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:57:56 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 9:01:10 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 9:19:14 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 9:34:20 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 10:23:22 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/22/2012 10:29:34 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 10:52:11 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 10:59:33 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 11:10:52 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/23/2012 8:57:06 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/23/2012 11:04:34 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/23/2012 11:19:29 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/24/2012 10:27:38 PM