Re: How to get Excel / Word (MS-Office) Version ?
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Fri, 20 Apr 2007 09:03:44 -0700
I'd stick with trying to instantiate Excel, since I'm generally more
interested in knowing whether I can do that in the first place.
There's a lot that can happen to an Office installation that renders it
unusable as an automation server. Knowing the exe is on the machine is, I
suppose, nice but I *still* don't know whether I can use it. <s> (Not to
mention the user can rename any .txt file to excel.exe and suddenly excel is
"installed" but my code will fail!)
Dan
"Cy Welch" <cywelch@xxxxxxxxx> wrote in message
news:%23BOZSFwgHHA.4936@xxxxxxxxxxxxxxxxxxxxxxx
Hey guys! How about something simple like locating the excel.exe file and
using aversion() to get the version number from the exe? Seems like the
most simple and easy way except for the finding of the exe file.
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com
Man-wai Chang wrote:
check the file size of the office DLLs....and if possible,Another useless contribution from Man-wai Chang.
sample a few bytes ...:)
No surprises.
People use this method to crack copy-protection back in DOS days (and
even now).
.
- Follow-Ups:
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Roger Ansell
- Re: How to get Excel / Word (MS-Office) Version ?
- References:
- How to get Excel / Word (MS-Office) Version ?
- From: SOHO
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Roger Ansell
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Man-wai Chang
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Roger Ansell
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Man-wai Chang
- Re: How to get Excel / Word (MS-Office) Version ?
- From: Cy Welch
- How to get Excel / Word (MS-Office) Version ?
- Prev by Date: Re: Required files
- Next by Date: Re: Grid Refresh Problems in VFP 9.0
- Previous by thread: Re: How to get Excel / Word (MS-Office) Version ?
- Next by thread: Re: How to get Excel / Word (MS-Office) Version ?
- Index(es):
Relevant Pages
|