S
scottrudy
The application I am migrating has different extentions for the company's
file types. For example one of the file types, sampling guidelines, ends in
..xms. Is there a perferred way in the registry that I can assign these types.
I have tried three different ways and they all seem to work:
Attempt 1:
[HKEY_CLASSES_ROOT\.xms]
@="xmlfile"
"Content Type"="text/xml"
[HKEY_CLASSES_ROOT\.xms\OpenWithList]
[HKEY_CLASSES_ROOT\.xms\OpenWithList\infopath.exe]
[HKEY_CLASSES_ROOT\InfoPath.Document.1\XML Handler\Icon]
".xms"=".infopathxml"
Attempt 2:
[HKEY_CLASSES_ROOT\.xms]
"Content Type"="application/ms-infopath.xms"
@="InfoPath.Document.1"
[HKEY_CLASSES_ROOT\.xms\InfoPath.Document.1]
[HKEY_CLASSES_ROOT\.xms\InfoPath.Document.1\ShellNew]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/ms-infopath.xms]
"CLS_ID"="{807553E6-5146-11D5-A672-00B0D022E945}"
"Extension"=".xms"
Attempt 3:
[HKEY_CLASSES_ROOT\.xms]
@="xms_auto_file"
[HKEY_CLASSES_ROOT\xms_auto_file]
@="Sampling Guideline"
[HKEY_CLASSES_ROOT\xms_auto_file\DefaultIcon]
@="C:\\Program Files\\Microsoft Office\\OFFICE11\\INFOPATH.EXE,1"
[HKEY_CLASSES_ROOT\xms_auto_file\shell]
@="open"
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open]
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\OFFICE11\\MSOXMLED.EXE\" /verb open \"%1\""
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec]
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec\Application]
@="MSOXMLED"
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec\Topic]
@="System"
file types. For example one of the file types, sampling guidelines, ends in
..xms. Is there a perferred way in the registry that I can assign these types.
I have tried three different ways and they all seem to work:
Attempt 1:
[HKEY_CLASSES_ROOT\.xms]
@="xmlfile"
"Content Type"="text/xml"
[HKEY_CLASSES_ROOT\.xms\OpenWithList]
[HKEY_CLASSES_ROOT\.xms\OpenWithList\infopath.exe]
[HKEY_CLASSES_ROOT\InfoPath.Document.1\XML Handler\Icon]
".xms"=".infopathxml"
Attempt 2:
[HKEY_CLASSES_ROOT\.xms]
"Content Type"="application/ms-infopath.xms"
@="InfoPath.Document.1"
[HKEY_CLASSES_ROOT\.xms\InfoPath.Document.1]
[HKEY_CLASSES_ROOT\.xms\InfoPath.Document.1\ShellNew]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/ms-infopath.xms]
"CLS_ID"="{807553E6-5146-11D5-A672-00B0D022E945}"
"Extension"=".xms"
Attempt 3:
[HKEY_CLASSES_ROOT\.xms]
@="xms_auto_file"
[HKEY_CLASSES_ROOT\xms_auto_file]
@="Sampling Guideline"
[HKEY_CLASSES_ROOT\xms_auto_file\DefaultIcon]
@="C:\\Program Files\\Microsoft Office\\OFFICE11\\INFOPATH.EXE,1"
[HKEY_CLASSES_ROOT\xms_auto_file\shell]
@="open"
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open]
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\OFFICE11\\MSOXMLED.EXE\" /verb open \"%1\""
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec]
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec\Application]
@="MSOXMLED"
[HKEY_CLASSES_ROOT\xms_auto_file\shell\open\ddeexec\Topic]
@="System"