Windows Registry again
Shari
gypsyware at earthlink.net
Sat Mar 15 15:48:00 EST 2003
Regarding the icon for Windows in the registry.... doesn't the
following hard-code a specific path to the program? What if the user
puts the program somewhere else?
get setRegistry("HKEY_CLASSES_ROOT\Blackjack Gold\DefaultIcon\",
"C:\Program" && \
"Files\Blackjack Gold\Blackjack Gold.exe,1")
get setRegistry("HKEY_CLASSES_ROOT\Blackjack
Gold\Shell\Open\Command\","C:\Program" && \
"Files\Blackjack Gold\Blackjack Gold.exe %1")
--
--Shareware Games for the Mac--
http://www.gypsyware.com
More information about the metacard
mailing list