Page 1 of 1

[Implemented] Editor should associate *.pb with PureBasic

Posted: Tue Jun 29, 2004 1:38 pm
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!). ;)

Posted: Tue Jun 29, 2004 3:11 pm
by Fred
It should do it.. I will take a closer look.

Posted: Tue Jun 29, 2004 4:59 pm
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.

Posted: Wed Jun 30, 2004 1:35 am
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).

Posted: Wed Jun 30, 2004 4:58 pm
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...