Print Page | Close Window

Get PROPERTYKEY from Name

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: ActiveX COM
Forum Description: Topics related to Codejock ActiveX COM products
URL: http://forum.codejock.com/forum_posts.asp?TID=15344
Printed Date: 21 November 2024 at 10:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get PROPERTYKEY from Name
Posted By: Emulator
Subject: Get PROPERTYKEY from Name
Date Posted: 11 October 2009 at 4:37pm
Hi all... how i can convert a Property name to a PROPERTYKEY structure (FMTID/PID) by the name?

Example:
From Registry i take: HKEY_CLASSES_ROOT\*\InfoTip

than in my case, the result is: "prop:DocTitle;Type;Size;FileVersion;FileTitle;ProgramDescription"

I have written a function to get sequentially property by property... so i have:
DocTitle
Type
Size
FileVersion
FileTitle
ProgramDescription

I want to translate the correspondent PROPERTYKEY structure (FMTID/PID) or otherwise translate this string to the correspondent replacement as Windows Explorer do.

Any suggestion is appreciated. Thanks in advance!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net