Verfasst: 13.01.2006 14:49
Hab ich runtergeladen, aber das sind ja auch nur "leere" Prozeduren mit denen ich erstmal nichts anfangen kann...
Das deutsche PureBasic-Forum
https://www.purebasic.fr/german/
Code: Alles auswählen
AssociateFileEx (ext$,ext_description$,programm$,icon$,prgkey$,cmd_description$,cmd_key$)
Unbedingt die Registry sichern, bevor Du es ausprobierst, ist nicht ungefährlich!!!ext$ is the extension (without the dot, for example "PB")
Ext_Description$ is the description of the file ("PureBasic Source")
programm$ is the programm with the full path ("c:\programme\japbe\japbe.exe")
Icon$ is the icon, when you want the second icon of file, add this with ",2" ("jaPBe.exe,2")
prgkey$ is the regestry-key of the applikation, normaly the filepart of programm$
cmd_description$ You can add a entry in the context-menu of the file. this is the description. ("open file with jaPBe")
cmd_key$ is the key, where the description is stored. Only for Win9X-System, but you should always add this ("open_file_with_jaPBe")