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


> >
> >
> > Hi Tamar,
> > Would this work on a 64 bit version of MS Office? I have a mixture of 32bit and 64bit users and when I run it on the 64bit office it gives the following Error:
> > File 'aversioninfo.prg' does not exist.
> > it looks like that the "aversioninfo" array is not created.
> >
>
> 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.

Thanks

Matin

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