Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Retreiving File properties

9 views
Skip to first unread message

Amitabh Kant

unread,
Jan 11, 2003, 4:36:53 PM1/11/03
to
Is it possible to retrieve a values like "Comment", "File Description",
"Product Name" from an Exe?

Regards
Amitabh kant

----------------------------
Amitabh Kant
http://www.egreycells.com

Björn Holmgren

unread,
Jan 13, 2003, 4:19:57 AM1/13/03
to
Search for "GetFileVersionInfo" at http://www.codehound.com

--
............................................
Björn Holmgren
Guide Konsult AB
............................................

"Amitabh Kant" <amitab...@egreycellsNOSPAM.com> wrote in message
news:3E208E...@egreycellsNOSPAM.com...

Alick [MSFT]

unread,
Jan 13, 2003, 9:56:13 PM1/13/03
to
If I haven't misunderstood, I think you can try GetDetailsEx method of
IShellFolder2 interface to retrieve file properties; pass the correct value
to fmtid in SHCOLUMNID Structure to retrieve the information in summary tab
(file properties). The value for Comments property is 6.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/ifaces/ishellfolder2/GetDetailsEx.asp

SHCOLUMNID Structure
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/structures/shcolumnid.asp

In addition, if you only would like to get Office document file properties,
you can use the dsofile.dll to modify the Document Summary Properties for
an OLE Structured Storage file such as native Excel, PowerPoint, and Word
documents without using Automation to Microsoft Office:

Dsofile.exe Lets You Edit Office Document Properties from Visual Basic
http://support.microsoft.com/default.aspx?scid=KB;EN-US;224351

If you would like to start the file properties dialog box programmatically,
you can try ShellExecuteEx API.


Sincerely,

Alick Ye, MCSD
Product Support Services
Microsoft Corporation
Get Secure! - <www.microsoft.com/security>

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Message-ID: <3E208E...@egreycellsNOSPAM.com>
| Date: Sun, 12 Jan 2003 03:06:53 +0530
| From: Amitabh Kant <amitab...@egreycellsNOSPAM.com>
| X-Tomcat-NG: microsoft.public.vb.winapi.networks

John Csoglei

unread,
Jan 18, 2003, 9:14:02 AM1/18/03
to
Please contact me.

John Csoglei John.C...@Brainsys.be

I'm French and Gay!!!
And I get an erection when I see young boys!

"Amitabh Kant" <amitab...@egreycellsNOSPAM.com> wrote in message
news:3E208E...@egreycellsNOSPAM.com...

0 new messages