Page 3 of 10

Posted: Mon Jun 19, 2006 9:12 pm
by dracflamloc
Neat Interview...

Psst... Bericko sucks!

:wink:

Posted: Wed Jun 21, 2006 8:16 pm
by Berikco
dracflamloc wrote:Neat Interview...

Psst... Bericko sucks!

:wink:
/me slaps dracflamloc around a bit with Rings's 5 years old *beep*

Posted: Mon Jul 17, 2006 2:24 am
by Andre
Before I go to a large holiday trip for the next 4 weeks I've worked on an update to www.PureArea.net till the last minute.

Here the actual news:
It's holiday time!

After the great 3rd place of Germany at the Fifa Worldcup 2006 I will go to holidays now.

On the right side you can see one of the destinations - who know it? ;-)


But before I've updated the Update and History sites to reflect the latest improvements to PureBasic v4 (Windows). Also the changes from older PB version v3.94 are available.

PureBasic v4 for Linux is further progressing, first alpha versions should be available soon. When the first beta versions will be available to registered users I can't say yet.

Today I release also the latest improvements to the PureBasic manual, which where done after the official v4 release in May. You can download CHM manuals here: English (1,1 MB without IDE screenshots), French (2 MB with IDE screenshots), German (2 MB with IDE screenshots). English online manual for PB v4 is available here.

Furthermore I've updated the Userlibs site again - it contains now 218 (!) libs for PureBasic Windows (v4, v3.94 and older), for Linux and more.

The winners of the PureBasic SummerContest 2006 were elected too: the winner is Remi Meier (will get the USB 300 MB harddrive soon), 2nd place Siegfried Rings (will get a 30 € Amazon voucher) and 3rd place goes to Marc-Sven 'Hroudtwolf' Rudolf (will get a 20 € Amazon voucher). Congratulations!

I will be away on a large holiday trip to South America from 17th July till 13th August. So please remember this, when you don't get a reply within this time. Thanks for your appreciation

But: as always my father will process all PureBasic & PureVisionXP orders during this time. Be aware of the notes on the order site. Thanks!

Posted: Mon Sep 04, 2006 10:25 pm
by Andre
A german PB user helped me a lot to convert old codes from CodeArchive to new PB v4 syntax.

First directories are done, there are only some codes left, which must still be converted. They are maybe a bit difficult (currently giving POLINK errors etc.) - so any help is welcome!

See my post of today on german board for a list of the codes still to convert: http://www.purebasic.fr/german/viewtopic.php?t=9537

Posted: Tue Sep 05, 2006 2:28 am
by Intrigued
Thanks to you and the mystery helper. Those examples, sample code chunks have helped me to get a better grasp of PB.

Thank you very much!

Posted: Sun Sep 17, 2006 9:29 pm
by Andre
PureArea.net News of 17th Sep 2006 wrote:Back from wonderful holidays on my South America trip through Peru - Bolivia - Chile in July/August 2006!

Here are some pics for you...

Of course I'm back in Germany already since middle of August, but I was very busy until now. Especially I'm investing a lot of my spare time into converting the CodeArchiv to PB v4, so a new version should be out in .... weeks. Anyway we can need help, a list of unconverted codes can be read on german forum.

There is a new book about PureBasic available:
"PureBasic - A Beginner's Guide to Computer Programming" got already a lot of positive feedback from PB beginners and advanced coders. With the release of this second (commercial) book about PureBasic I extended the Tutorials section on PureArea.net also with a small book chapter.

In the Developer tools section I present today three new tools: EasySetup, ProgiToDo and PureForm. More updates on PureArea.net should follow soon...
www.PureArea.net

Posted: Mon Sep 18, 2006 6:25 am
by benny
Excellent pics. Looks like a phantastic and interesting trip. I am envious ;-)

Posted: Sun Oct 08, 2006 10:05 pm
by Andre
PureArea.net News wrote:First PureBasic PDF magazine near to release!

Only some days left - then the first PureBasic magazine can be downloaded: PB.CM is its name. Currently its german only - but if there is enough interest the authors will think about an english version for sure...

There are several more updates on PureArea.net available:

PureBasic Reference Manual is available in its latest version (newer than original PB v4 package) and still also for PB v3.94 - both online and for download. As well the download section in general was updated and the WinAPI32 help guide included.

With the K-NetLib a very powerful dll network package (inluding needed PureBasic include files as well the source) was released as freeware.

You can also get new tutorials about programing with PureBasic.

As well a lot of new and updated UserLibs were released - one highlight of them is the eGrid lib providing a powerful grid control for PureBasic.

Also the Links section was updated (not working links changed/deleted) and also extended with some new links. If you want to be added - just drop me a mail! The Sitemap of PureArea.net is now also up-to-date.

We are making good progress with converting the CodeArchiv to PB v4 - current status report and also a "Help needed!" call (for converting last missing codes) is regularly posted on german forum. Any help is welcome!

PureBasic gets also noticed by the demoscene. Three chapters about "Demo coding with PureBasic" were released lately in the Hugi Scene Mag #32.
www.PureArea.net

Posted: Mon Oct 09, 2006 1:28 pm
by Psychophanta
Can we expect an interview to Timo (Freak) :?: 8)

Posted: Mon Oct 09, 2006 1:30 pm
by Dare
Psychophanta wrote:Can we expect an interview to Timo (Freak) :?: 8)
He's too shy. :)

Posted: Tue Oct 10, 2006 10:16 pm
by Andre
Dare wrote:
Psychophanta wrote:Can we expect an interview to Timo (Freak) :?: 8)
He's too shy. :)
Maybe... :wink:
But I think it's more a matter of time.


Here is also the direct link to the thread in german forum about updating the CodeArchiv:
http://www.purebasic.fr/german/viewtopic.php?t=10149

For all linked codes in first post of this thread help is needed for converting them to PB v4. Would be nice, if also some people from english forum can help. :D
Please post results here or send them via email to me: andre [at] purebasic.com

Thanks! :)

Posted: Tue Oct 10, 2006 11:17 pm
by Dare
Incomplete (see end of post)

For:

http://www.purearea.net/pb/CodeArchiv/G ... ktypes1.pb

Here:

Code: Select all

; German forum:
; Author: Danilo
; Date: 02. April 2003

; Zeigt wie man Links-, Rechts-, DoppelLinks- und DoppelRechts-Klicks für das ButtonGadget() abfragt. 
; Nützlich z.B. wenn man ein Popup-Menu nach RechtsClick auf einen Button anzeigen will. 
; Diese Events wurden in 3.62 im Zusammenhang mit AdvancedGadgetEvents() geändert.
OpenWindow(0,0,0,170,106,"Button Events",#PB_Window_ScreenCentered|#PB_Window_SystemMenu) 
  CreateGadgetList(WindowID(0)) 
  ButtonGadget(1,10,10,150,20,"Links-Klick") 
  ButtonGadget(2,10,32,150,20,"Rechts-Klick") 
  ButtonGadget(3,10,54,150,20,"Doppel-Links-Klick") 
  ButtonGadget(4,10,76,150,20,"Doppel-Rechts-Klick") 

Procedure Message() 
  MessageRequester("Button "+Str(EventGadget()),GetGadgetText(EventGadget()),0) 
EndProcedure 

Repeat 
  Select WaitWindowEvent() 
    Case #PB_Event_CloseWindow: End 
    Case #PB_Event_Gadget 
        Select EventGadget() 
          Case 1 
            Select EventType() 
              Case #PB_EventType_LeftClick        : Message() 
            EndSelect 
          Case 2 
            Select EventType() 
              Case #PB_EventType_RightClick       : Message() 
            EndSelect 
          Case 3 
            Select EventType() 
              Case #PB_EventType_LeftDoubleClick  : Message() 
            EndSelect 
          Case 4 
            Select EventType() 
              Case #PB_EventType_RightDoubleClick : Message() 
            EndSelect 
        EndSelect 
  EndSelect 
ForEver


For:

http://www.purearea.net/pb/CodeArchiv/G ... ktypes2.pb

Here:

Code: Select all

; German forum:
; Author: CyberRun8 
; Date: 03. April 2003

;Beispiel von CyberRun8 
;für PureBasic 3.62 
;März 2003 

;-Konstanten setzen 
#Window = 0 

#Gadget1 = 0 
#Gadget2 = 1 
#Gadget3 = 2 

;-Fenster mit Gadgets darstellen 
If OpenWindow(#Window, 100, 150, 240, 90, "AdvancedGadgetEvents", #PB_Window_MinimizeGadget) 
  If CreateGadgetList(WindowID(#Window)) 
    ButtonGadget(#Gadget1, 5, 5, 230, 20, "Doppelklick-Button") 
    ButtonGadget(#Gadget2, 5, 35, 230, 20, "Einfachklick-Button") 
    ButtonGadget(#Gadget3, 5, 65, 230, 20, "Gadget ohne Advanced-Funktion") 
  EndIf 
EndIf 

Debug "Focusangabe:" 
;-Schleife 
Repeat 
  EventID.l = WaitWindowEvent() 
  
  If EventID = #PB_Event_Gadget    
    Select EventGadget() 
      Case #Gadget1 
        If EventType() = #PB_EventType_Focus 
          Debug "Focus auf Doppelklick-Button gesetzt"                
        ElseIf EventType() = #PB_EventType_LeftDoubleClick 
          MessageRequester("Info", "Linksdoppelklick", 0) 
        ElseIf EventType() = #PB_EventType_RightDoubleClick 
          MessageRequester("Info", "Rechtsdoppelklick", 0)              
        EndIf 
      Case #Gadget2 
        If EventType() = #PB_EventType_LeftClick          
          MessageRequester("Info", "Linksklick auf Einfachklick-Button", 0) 
        ElseIf EventType() = #PB_EventType_RightClick          
          MessageRequester("Info", "Rechtsklick auf Einfachklick-Button", 0) 
        ElseIf EventType() = #PB_EventType_Focus 
          Debug "Focus auf Einfachklick-Button gesetzt" 
        EndIf 
      Case #Gadget3 
        ;Folgende Abfrage ist ohne Funkton weil für Gadget3 die fortgeschrittene Ereignisangabe 
        ;abgeschaltet wurde. 
        If EventType() = #PB_EventType_Focus 
          Debug "Focus auf Doppelklick-Button gesetzt"                
        ElseIf EventType() = #PB_EventType_LeftDoubleClick 
          MessageRequester("Info", "Linksdoppelklick", 0) 
        ElseIf EventType() = #PB_EventType_RightDoubleClick 
          MessageRequester("Info", "Rechtsdoppelklick", 0)              
        EndIf          
    EndSelect 
  EndIf        
Until EventID = #PB_Event_CloseWindow 
End
BUT ....

This just makes them run. It doesn't make the double-clicks, etc, work. (no AdvancedGadgetEvents(#True/#False) available)

Maybe someone smarter can fix that bit?

Posted: Tue Oct 10, 2006 11:24 pm
by Dare
For:

http://www.purearea.net/pb/CodeArchiv/G ... nctions.pb

Here:

Code: Select all

; German forum; http://robsite.de/php/pureboard/viewtopic.php?t=1135&highlight=
; Author: CS2001
; Date: 25. May 2003

#Window_0 = 0 

;- Gadget Constants 
; 
#Gadget_0 = 0 
#Gadget_1 = 1 


Procedure Open_Window_0() 
  If OpenWindow(#Window_0, 216, 0, 600, 300, "New window ( 0 )",  #PB_Window_TitleBar) 
    If CreateGadgetList(WindowID(#Window_0)) 
      TreeGadget(#Gadget_0, 10, 10, 270, 190) 
      StringGadget(#Gadget_1, 300, 10, 280, 40, "") 
      AddGadgetItem(#Gadget_0, 0, "Anmelden") 
      AddGadgetItem(#Gadget_0, 1, "Abmelden") 
      AddGadgetItem(#Gadget_0, 2, "Ende") 
    EndIf 
  EndIf 
EndProcedure 

Open_Window_0() 
Repeat 
Event = WaitWindowEvent() 
  If Event=#PB_Event_Gadget 
    Select EventGadget() 
      Case #Gadget_0 
        Eintrag=GetGadgetState(#Gadget_0) 
        If Eintrag=0 
          SetGadgetText(#Gadget_1, "Anmelden") 
        ElseIf Eintrag=1 
          SetGadgetText(#Gadget_1, "Abmelden") 
        EndIf 
    EndSelect 
  EndIf 
;  While WindowEvent() : Wend 
Until Eintrag=2
But note the commented line, if left in it doesn't work (drops through the preceding event loop code).


For:

http://www.purearea.net/pb/CodeArchiv/G ... ipboard.pb

Here:

Code: Select all

; English forum: http://purebasic.myforums.net/viewtopic.php?t=7337
; Author: Freak
; Date: 26. August 2003

; modified for PB3.80 by Freak on 07th September 2003

Enumeration 1 
  #OLECMDID_OPEN          
  #OLECMDID_NEW        
  #OLECMDID_SAVE          
  #OLECMDID_SAVEAS            
  #OLECMDID_SAVECOPYAS    
  #OLECMDID_PRINT        
  #OLECMDID_PRINTPREVIEW        
  #OLECMDID_PAGESETUP        
  #OLECMDID_SPELL            
  #OLECMDID_PROPERTIES  
  #OLECMDID_CUT          
  #OLECMDID_COPY        
  #OLECMDID_PASTE            
  #OLECMDID_PASTESPECIAL    
  #OLECMDID_UNDO            
  #OLECMDID_REDO          
  #OLECMDID_SELECTALL        
  #OLECMDID_CLEARSELECTION 
  #OLECMDID_ZOOM            
  #OLECMDID_GETZOOMRANGE      
  #OLECMDID_UPDATECOMMANDS  
  #OLECMDID_REFRESH            
  #OLECMDID_STOP              
  #OLECMDID_HIDETOOLBARS      
  #OLECMDID_SETPROGRESSMAX    
  #OLECMDID_SETPROGRESSPOS  
  #OLECMDID_SETPROGRESSTEXT    
  #OLECMDID_SETTITLE          
  #OLECMDID_SETDOWNLOADSTATE  
  #OLECMDID_STOPDOWNLOAD      
EndEnumeration 

Enumeration 0 
  #OLECMDEXECOPT_DODEFAULT      
  #OLECMDEXECOPT_PROMPTUSER        
  #OLECMDEXECOPT_DONTPROMPTUSER    
  #OLECMDEXECOPT_SHOWHELP        
EndEnumeration 

; ----------------------------------------------------- 

; Now the code 

#WebGadget = 1 
#Button = 2 

OpenWindow(0, 0, 0, 800, 600, "WebBrowser", #PB_Window_ScreenCentered|#PB_Window_SystemMenu) 
CreateGadgetList(WindowID(0)) 

WebGadget(#WebGadget, 10, 40, 780, 550, "www.purebasic.com") 
ButtonGadget(#Button, 10, 10, 60, 20, "Copy") 

; Fred the genius stored the Interface pointer to IWebBrowser2 in the DATA 
; member of the windowstructure of the WebGadget containerwindow, so we can get 
; that easily: 
WebObject.IWebBrowser2 = GetWindowLong_(GadgetID(#WebGadget), #GWL_USERDATA) 

Repeat 
  Event = WaitWindowEvent() 
  If Event = #PB_Event_Gadget And EventGadget() = #Button 
    
    ; Now here's the actual copy thing, not that complicated... 

    WebObject\ExecWB(#OLECMDID_COPY, #OLECMDEXECOPT_DONTPROMPTUSER, 0, 0) 
    
    ; little test: 
    MessageRequester("", GetClipboardText(), 0) 
    
  EndIf 
Until Event = #PB_Event_CloseWindow 

End
Note: Need to select something to see something. Also Freak's WebGadgetExtras example is probably a better example?

Posted: Wed Oct 11, 2006 10:14 pm
by Andre
Dare, thanks for help. Any more help is welcome... :D

All suggestions I will check and include in CodeArchiv on weekend.

Posted: Sun Nov 12, 2006 7:27 pm
by Andre
@Dare: thanks for you help, its included. :)

@All: after investing a lot of time, the v3.94 compatible CodeArchive (with more than 1300 example codes) is now fully converted to PB v4! :D

But there are a bit more than 20 codes left, which are still left to do because of POLINK errors or other problems.

An always up-to-date list is available on german forum here:
http://www.purebasic.fr/german/viewtopic.php?t=10149

Just look at the first posting - all active code links must still be converted.
So any help is welcome! :D