
PureBasic v4.00 - Beta 1
-
- Enthusiast
- Posts: 537
- Joined: Wed Oct 29, 2003 10:35 am
Hi chen, I also got that a couple of times. It is intermittant. Try these for now:chen wrote:Error message...
1: navigate to your version 4 folder, dbl click PureBasic.exe.
2: If fails, do 1 but first open a file before File -> Preferences.
3: If fails, open via association (double click on a .pb file)
4: If fails, do 3 but close file before trying preferences.
Repeat 1 to 4 a few times, changing files, and, dunno why, but you suddenly can get back into preferences.

EDIT:
To help the developers, did you copy across an old preferences file or start from scratch? I started from scratch.
@}--`--,-- A rose by any other name ..
Dare2,

Done!!!..... with your help of course......1: navigate to your version 4 folder, dbl click PureBasic.exe.
2: If fails, do 1 but first open a file before File -> Preferences.
3: If fails, open via association (double click on a .pb file)
4: If fails, do 3 but close file before trying preferences.

- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Great, I'm going to get straight to it!
Last edited by netmaestro on Tue Feb 21, 2006 4:10 pm, edited 2 times in total.
BERESHEIT
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
its just EventMenu() now ..chen wrote:Bericko,
Visual Designer
There are some parameters that are required when you create menus....
Are the Visual Designer ready to test in version4?
Because I can not reconvert the application I have.......
problems here:
EventMenuID()
WindowID() ->
ask for parameters... until now
and windowid(#window_name)
wants the window name
But what I've been doing to find commands, is use the autocomplete..
like for eventm(then hit ctrl-spacebar) ..
- np
First, thanks to Fred and the team for making a good product even better. After a quick scan of the read-me documents it looks like the majority of my personal wish-list items have been included. Great!
Some assistance please…
I program with PB almost every day, producing electronic instrumentation management and other technical programs. Until V4 is stable I cannot run the risk of switching over to it. At the same time I want to try out some of the new features and contribute to the testing program if I can. So, I need to install V4 in a way that does not damage my 3.94 / JaPBe installation… I MUST be able to continue my ‘work’ and dip into V4 as a separate activity.
Question:
Could someone kindly provide some clear instructions to install V4 on a computer in a way that does NOT damage an existing 3.94 installation?
Many thanks.
Richard L
Some assistance please…
I program with PB almost every day, producing electronic instrumentation management and other technical programs. Until V4 is stable I cannot run the risk of switching over to it. At the same time I want to try out some of the new features and contribute to the testing program if I can. So, I need to install V4 in a way that does not damage my 3.94 / JaPBe installation… I MUST be able to continue my ‘work’ and dip into V4 as a separate activity.
Question:
Could someone kindly provide some clear instructions to install V4 on a computer in a way that does NOT damage an existing 3.94 installation?
Many thanks.
Richard L
Hi RichardL,
This is what I did:
Created a new folder in Program Files called PureBasic_4B.
Unzipped the beta into that folder.
Navigated to the folder and double-clicked PureBasic.exe - this told PureBasic IDE to use that folder from then on in. (To change to an older version, I can navigate to the older version folder and double click the PureBasic.exe in that folder.)
Clumsy, maybe, but works for me.
I also have JaPBe set to work on my 3.94 stuff and PureBasic on the 4.00. As JaPBe knows zip about the Beta it continues to use my 3.94_NewOgre version.
My .pb association is PureBasic 4, so I right-click on a program and select "open with" and JaPBe for 3.94.
There are probably better ways, though ...
This is what I did:
Created a new folder in Program Files called PureBasic_4B.
Unzipped the beta into that folder.
Navigated to the folder and double-clicked PureBasic.exe - this told PureBasic IDE to use that folder from then on in. (To change to an older version, I can navigate to the older version folder and double click the PureBasic.exe in that folder.)
Clumsy, maybe, but works for me.
I also have JaPBe set to work on my 3.94 stuff and PureBasic on the 4.00. As JaPBe knows zip about the Beta it continues to use my 3.94_NewOgre version.
My .pb association is PureBasic 4, so I right-click on a program and select "open with" and JaPBe for 3.94.
There are probably better ways, though ...
@}--`--,-- A rose by any other name ..
Yes, 2 separate folders for 2 installations of PB seems to work fine with no interference. Just drag a copy of your help folders into the new installation and you also have the help stuff (although for PB 3.94 or whatever)
If only software installation from the big boys like Msoft was as simple and reliable as this.
There's are plenty of changes in 4.0, so looks like it will take a while to get old software working reliably. But the changes seem sensible, and PB has lost it's major shortcoming, so this effort will be worthwhile.
Thanks Fred, I too shall donate.
If only software installation from the big boys like Msoft was as simple and reliable as this.
There's are plenty of changes in 4.0, so looks like it will take a while to get old software working reliably. But the changes seem sensible, and PB has lost it's major shortcoming, so this effort will be worthwhile.
Thanks Fred, I too shall donate.
It seems to be a bug in DOpus: http://resource.dopus.com/viewtopic.php?t=1329rsts wrote:Some kind of a bug in Opus? Or my configuration?
Someone posted a workaround (turn off Use batch extract in the Zip files section of Preferences). Hopefully they will fix it!

Mat
-
- Enthusiast
- Posts: 109
- Joined: Sun Jan 01, 2006 9:34 pm
- Location: Wales, UK
Window Object not initialized?
win1 = OpenWindow(0,0,0,x_res,y_res,#PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_MinimizeGadget,"Black Knight")
If InitSprite() <> 0 And InitMouse() <> 0 And OpenWindowedScreen(win1,0,0,x_res,y_res,0,0,0) <> 0
If CreateMenu(0, WindowID(win1)) ; create menus
MenuTitle("File")
MenuItem(#new_game, "New Game")
MenuItem(#load_game, "Load Game")
MenuItem(#save_game, "Save Game")
MenuItem(#exit_program,"Exit Program")
MenuTitle("Help")
MenuItem(#about, "About")
EndIf
win1 = OpenWindow(0,0,0,x_res,y_res,#PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_MinimizeGadget,"Black Knight")
If InitSprite() <> 0 And InitMouse() <> 0 And OpenWindowedScreen(win1,0,0,x_res,y_res,0,0,0) <> 0
If CreateMenu(0, WindowID(win1)) ; create menus
MenuTitle("File")
MenuItem(#new_game, "New Game")
MenuItem(#load_game, "Load Game")
MenuItem(#save_game, "Save Game")
MenuItem(#exit_program,"Exit Program")
MenuTitle("Help")
MenuItem(#about, "About")
EndIf
Project S: loading...
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express