Windows Registry

Ken Ray kray at sonsothunder.com
Sat Mar 15 16:22:01 EST 2003


Shari,
> If I register file type ".mc" that would mean Blackjack Gold would 
> open ALL .mc files, is that correct?  

Yes.

> Shouldn't I use a custom file extension, such as .bjg?  

Yes.

> And if so, how would I determine that it is not already being used?

Well, the only way is to check by attempting to get the registry entry
form HKCR, and if there's nothing there, you're OK. 
> Also, to delete the registry entry if the user uninstalls the 
> program, would the following be correct?
> 
>        if the platform is "Win32" then
>          # register the file type to Blackjack Gold
>          get setRegistry("HKEY_CLASSES_ROOT\.bjg\","")
>        end if

Actually, you'd want to use "deleteRegistry".... and change your
comment.

 ;-)

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 




More information about the metacard mailing list