Re: aGetFileVersion / aSetFileVersion by Rick
Rick
Tue May 18 08:53:18 CDT 2004
Tracy,
While there is a specific standard for storing version information in an =
.EXE, most file types don't store this information at all! e.g. There is =
no version information in a .DBF - it only has a last modified date =
field. Office files store versioning information, but as far as I know =
these are all unique to each file type, and are normally only updateable =
through the actual application. Also in these days of viruses, it's =
likely that some of this information is checksumed and verified in some =
alternate location, so the application can verify that it's data hasn't =
been tampered with! By trying to externally change this data you risk =
corrupting the files so the original application won't open it!
Perhaps if you could explain what in general you are trying to =
accomplish, you could get suggestions on a different approach.
Rick
"Tracy Hunt" <insperatus@hotmail.com> wrote in message =
news:77DE0827-24FD-4424-AB56-68F2DD642179@microsoft.com...
> I'm not talking about the VFP generated .exe file. Actually, I want =
to set version numbers on the various support files (.dbf, etc.) that =
are distributed with apps (and this is not limited to FoxPro-ish files, =
either).
>=20
> Of course, someone is going to point out that I can just open/inspect =
the file structure of DBFs, etc. That's fine for DBFs, however, there =
are other files the organization of which precludes a quick "header =
check" like can be done for DBFs.
>=20
> I realize this is going to be some getObject process, I just have no =
clue what to put after the "(" in the getObject.