Document Icon Troubles
Posted: Wed May 29, 2013 10:29 am
Greetings All,
I have written a Windows program that allows the user to double click a document with the extension ".KEWO".
In the "Stand Alone Application Settings . . ." I selected two icons, one for the application and one for application documents.
Next I adjusted the registry settings using the code below:
-- ASSIGN ".KEWO" AS THE DOCUMENT FILETYPE
get setRegistry("HKEY_CLASSES_ROOT\.kewo\","KE Work Orders")
-- SET A CLASS FOR THE APPLICATION
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\","KE Work Orders Document")
-- ASSIGN "KE WORK ORDERS" AS THE APP WHICH IS OPENED WHEN A DOCUMENT IS DOUBLE CLICKED
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\shell\open\command\", "C:\Program Files\KE Work Orders\KE Work Orders.exe%1")
-- SELECT THE DEFAULT ICON AS SET IN LIVECODE AS THE DOCUMENT ICON
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\DefaultIcon\","C:\Program Files\KE Work Orders\KE Work Orders.exe,1")
Everything worked great until I redesigned the document icon and tried to change it.
I have reset the icon in the "Stand Alone Application Settings . . ." and rerun the "Save As Standalone application . . ."
I have shut the computer down and restarted.
I have reset the registry.
My documents continue to show the original icon.
Am I missing something obvious?
Any help will be appreciated.
John Miller
I have written a Windows program that allows the user to double click a document with the extension ".KEWO".
In the "Stand Alone Application Settings . . ." I selected two icons, one for the application and one for application documents.
Next I adjusted the registry settings using the code below:
-- ASSIGN ".KEWO" AS THE DOCUMENT FILETYPE
get setRegistry("HKEY_CLASSES_ROOT\.kewo\","KE Work Orders")
-- SET A CLASS FOR THE APPLICATION
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\","KE Work Orders Document")
-- ASSIGN "KE WORK ORDERS" AS THE APP WHICH IS OPENED WHEN A DOCUMENT IS DOUBLE CLICKED
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\shell\open\command\", "C:\Program Files\KE Work Orders\KE Work Orders.exe%1")
-- SELECT THE DEFAULT ICON AS SET IN LIVECODE AS THE DOCUMENT ICON
get setRegistry("HKEY_CLASSES_ROOT\KE Work Orders\DefaultIcon\","C:\Program Files\KE Work Orders\KE Work Orders.exe,1")
Everything worked great until I redesigned the document icon and tried to change it.
I have reset the icon in the "Stand Alone Application Settings . . ." and rerun the "Save As Standalone application . . ."
I have shut the computer down and restarted.
I have reset the registry.
My documents continue to show the original icon.
Am I missing something obvious?
Any help will be appreciated.
John Miller