Opening Pb-Version by clicking in windows-explorer

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Opening Pb-Version by clicking in windows-explorer

Post by Josh »

When I click on a Pb-File in the Windos-Explorer, this file opens with the last closed Windows version.

This is basically ok, but if there is another PureBasic version open, then the clicked file should be opened there and Pb should not be opened a second time.

This behavior can lead to stupid errors if you don't pay attention that Pb is suddenly opened twice with the same files.
sorry for my bad english
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Opening Pb-Version by clicking in windows-explorer

Post by infratec »

You know that there is a flag in the PB settings to open only one instance of PB?
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Opening Pb-Version by clicking in windows-explorer

Post by Josh »

infratec wrote:You know that there is a flag in the PB settings to open only one instance of PB?
Yes I know, but this has no influence on opening Pb with another version.

For example, I work with version 5.60. Now I have to open an old program with 5.45 (because of Unicode) to test it. I test this program briefly, close version 5.45 and from then all Pb-files I click in Windows Explorer are opened with 5.45, although 5.60 is still open.
sorry for my bad english
Post Reply