PureBasic v4.00 - Beta 1

Developed or developing a new product in PureBasic? Tell the world about it.
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Simply Beautiful :D
Paid up PB User !
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

chen wrote:Error message...
Hi chen, I also got that a couple of times. It is intermittant. Try these for now:

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 ..
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

Dare2,
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.
Done!!!..... with your help of course...... :wink:
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

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
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

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
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

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
its just EventMenu() 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
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

its just EventMenu() 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) ..
Thanks.... ready...
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Post by RichardL »

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
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

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 ...
@}--`--,-- A rose by any other name ..
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Post by RichardL »

Dare2

Works for me... Thanks a lot.

RichardL
User avatar
HAnil
User
User
Posts: 87
Joined: Thu Feb 26, 2004 5:42 pm
Location: 28:58E 41:01N

Post by HAnil »

PB is thread save! Thank you Alpha Team! :D
User avatar
geoff
Enthusiast
Enthusiast
Posts: 128
Joined: Sun Apr 27, 2003 12:01 am
Location: Cornwall UK
Contact:

Post by geoff »

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.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Good point re the help. Makes life just a little easier. :)
@}--`--,-- A rose by any other name ..
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

rsts wrote:Some kind of a bug in Opus? Or my configuration?
It seems to be a bug in DOpus: http://resource.dopus.com/viewtopic.php?t=1329
Someone posted a workaround (turn off Use batch extract in the Zip files section of Preferences). Hopefully they will fix it! :)
Mat
Steve Elliott
Enthusiast
Enthusiast
Posts: 109
Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK

Post by Steve Elliott »

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
Project S: loading...
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express
Post Reply