Re: How to get Excel / Word (MS-Office) Version ?



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,
sample a few bytes ...:)
Another useless contribution from Man-wai Chang.
No surprises.

People use this method to crack copy-protection back in DOS days (and
even now).



.



Relevant Pages

  • Re: finding the path of executable dynamically
    ... Is there an api by which i can find the path of an exe dynamically. ... Specifically i am intreseted in knowing the path of exe file from within the ...
    (microsoft.public.vc.mfc)
  • Re: Open Source vs. Commercial
    ... > As far as my knowledge, I'd say it is just barely beyond knowing enough to ... > dangerous (meaning I realize how much I don't know) in both areas. ... Download Blackbird Crow Raven's book ...
    (borland.public.delphi.non-technical)
  • Re: Creating installable package in java
    ... I don't have an immediate solution for your problem, ... thing I thought you would probably be interested in knowing: a .exe ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: VB6 Restore Minimized Window - External Application
    ... >I know the EXE name of the application that I want to call. ... >Knowing the EXE name and knowing that only one copy of the EXE will be ... Offhand the only way I know would be to enumerate the running ... you get one who's PID matches. ...
    (microsoft.public.vb.winapi)
  • Re: VB6 Restore Minimized Window - External Application
    ... I know the EXE name of the application that I want to call. ... will be called so that they write their current caption to a registry key. ... Knowing the EXE name and knowing that only one copy of the EXE will be ... >>I am finding the handle by enumming windows, ...
    (microsoft.public.vb.winapi)