View Single Post
  #1 (permalink)  
Old 05-11-2007, 02:26 PM
Cableguy's Avatar
Cableguy Cableguy is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default .sbp file association in the Device

Hi,

After a few attemps i managed to associate the b4ppc generated files (.sbp) to its original creator (b4ppc) and respective icon...

Using a regestry editor (or even the regestry library if anyone is willing to create an aplet to do this), Like PHM Regedit, go to the following Key:

HKEY_CLASSES_ROOT

add Key:

.sbp (including the dot)

Inside the .sbp ad the values:

Name - value
Content Type - basic4ppc
Default - sbpfile

Go back one level and add the Key:

sbpfile

Inside this key create two more:

DefaultIcon
Shell

Inside DefaultIcon add the value

Default - \Program Files\Basic4ppc\Basic4ppc.exe,0 (this is the path were b4ppc is installed and may difer from yours...the last zero is needed to indicate the icon)
Go back to the shell key and add insid it the folllowing keys:

Open\Command

Inside command add the value:

Default - "\Program Files\Basic4ppc\Basic4ppc.exe" "%1" ( dont forget the commas, and again this is the b4ppc install path)
EDIT: though this is true, its doesn't seem to work with B4ppc files, it just launches the B4ppc editor in a blank project upon tapping a sbp file
ALthoug I'm not sure if its necessary, I did a soft-reset after the regestry alteration....

As Usual, messing with the regestry is something to do with extra care, any "bad" key can transform your device in a brick untill hard-reset...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 05-11-2007 at 05:18 PM.
Reply With Quote