Discussion:
File Author
(too old to reply)
Ian Spencer
2007-07-02 10:06:27 UTC
Permalink
Is it possible to obtain the 'File Author' information from a file using
PC/CC ? I would be grateful for any tips.

And yes, there may be low activiy on the group but probably there are many
like me who check it daily.
Best wishes,
Ian
Michael Mattias
2007-07-02 12:45:32 UTC
Permalink
Post by Ian Spencer
Is it possible to obtain the 'File Author' information from a file using
PC/CC ? I would be grateful for any tips.
Depends on what format the file uses to store "File Author".

e.g I think Microsoft Word(r) documents have an 'author' property. That's
probably available thru the COM interface, but you'd have to check the
Microsoft Word documentation. Assuming it is available, certainly the COM
facilities built into the PB/CC compiler can get it.

I think all files have available a "file properties" thru the Windows
Explorer software; this sounds like a place where one might keep "File
Author."

While I have no clue where that might be stored, I'd guess it's either in
the registry or somewhere in the Shell Extensions, both of which are
accessible programatically using the PB/CC compiler by calling the
appropriate Windows' API functions.

MCM
Ian Spencer
2007-07-03 07:08:05 UTC
Permalink
Post by Michael Mattias
Post by Ian Spencer
Is it possible to obtain the 'File Author' information from a file using
PC/CC ? I would be grateful for any tips.
Depends on what format the file uses to store "File Author".
e.g I think Microsoft Word(r) documents have an 'author' property. That's
probably available thru the COM interface, but you'd have to check the
Microsoft Word documentation. Assuming it is available, certainly the COM
facilities built into the PB/CC compiler can get it.
I think all files have available a "file properties" thru the Windows
Explorer software; this sounds like a place where one might keep "File
Author."
While I have no clue where that might be stored, I'd guess it's either in
the registry or somewhere in the Shell Extensions, both of which are
accessible programatically using the PB/CC compiler by calling the
appropriate Windows' API functions.
MCM
Should have been more specific, I meant the author information visible in
explorer. I want to count the number of files each user has on a Windows2003
Server. Think you are probably right that the way to go is a Windows API
function. Just have to find the right one and give it a go unless anyone
else can help.
Thanks
Ian

Loading...