windows shell - How to register a System Supplied Property Handler for XPS and OPC files in registry for a custom file type? -


i'm creating custom file format use application based on opc (or maybe xps) file format. msdn link, using system-supplied property handlers, gives example doesn't appear correct. know how properly?

edit: can apply opc files xps. xps build on top of opc.

you have to:

  1. create key named extension (e.g. key named .doc) under hkey_local_machine\software\microsoft\windows\currentversion\propertysystem\propertyhandlers.
  2. then set default value key created {45670fa8-ed97-4f44-bc93-305082590bfb}
  3. under root/systemfileassociations add key named file extension (e.g. .doc).
  4. under key add "shellex\propertyhandler"
  5. set default value under propertyhandler key {45670fa8-ed97-4f44-bc93-305082590bfb}.

    1. now have tell windows properties display depending on circumstance.

      • add fulldetails, previewdetails, extendedtileinfo, , infotip keys root/systemfileassociations/ key.

this property handler both opc (open package conventions) , xps files.

  • previewdetails property pane @ bottom of windows explorer (win 7) or left hand side of explorer (win 8).

  • fulldetails properties see when right click , select properties , go details tab.

    • infotip properties see when hover on file.

    • extendedtileinfo i'm not sure about. think it's properties see when select content folder view in explorer.

{45670fa8-ed97-4f44-bc93-305082590bfb} guid opc/xps property handler given in msdn link in question.

opc standard creating (zipped) file type. can see more here: msdn magazine - aug. 2007 opc - new standard packaging data.

i tested in windows 7 should work in vista , above. i'll post after further testing.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -