[Implemented] Editor should associate *.pb with PureBasic

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

[Implemented] Editor should associate *.pb with PureBasic

Post by PB »

I just tested jaPBe and didn't like it, so I uninstalled it, but now whenever
I double-click a *.pb file it won't open, and I'm prompted to browse to
jaPBe.exe instead. :( Running PureBasic.exe hasn't fixed the problem,
so it occurs to me that perhaps it should automatically re-associate *.pb
files with itself when it's run? (Oh, and the author of jaPBe should have
disconnected the file associations during its uninstall routine!). ;)
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

It should do it.. I will take a closer look.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

In the jaPBe preferences you can dis-associate japbe with .pb.

But it should disassociate automatical during deinstallation...

@fred
It problem is japbe. I found a methode to redirect .pb without changing any of the regestry-Entries of PureBasic.exe.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Thanks for looking into it, Fred and GPI. I didn't think to disassociate the
references before uninstalling jaPBe -- but I didn't think I had to, either.
I'm running v3.91 beta 2 and it definitely doesn't fix the associations...
I have to run PureBasic.exe and then use the File -> Open menu to load
my sources. :? Running W2K Pro (SP4).
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

You find the jaPBe-Key in

#HKEY_CLASSES_ROOT ".pb"
#HKEY_CLASSES_ROOT "pb_auto_file"
#HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pb"

same for .pbi,.pbfl,.declare

Edit: Just test the (De)Associate: Works perfekt here...
Post Reply