Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Properties Dialog

Status
Not open for further replies.

priyar

Programmer
May 11, 2000
1
US
How do I invoke the File properties dialog, the one that we get when we right click the mouse in windows explorer.<br><br>Is there any way to automatically fill in the title, author and comments for each file in my application.<br><br>Please help
 
Dear priyar,<br><br>Take a look at the ShellExecuteEx() API for invoking the File Property dialog for a specific file. Set the SHELLEXECUTEINFO structures members up correctly. I think the verb member gets set to &quot;properties&quot; and the flag is set to SEE_MASK_INVOKEIDLIST. Then supply the File member with the path to the file.<br><br>As far as setting those properties in your own applications files, I'm not sure, I think I remember doing it but I can't remember how or even if I did. Try looking at using the registry or perhaps it only works for OLE compound files that supply the specific fields.<br><br>Good luck<br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top