Book Available

So you have written that new, must have program. Let us see it here.
GerardBuzolic
Posts: 14
Joined: Tuesday 14th May 2019 8:00pm

Book Available

Post by GerardBuzolic »

https://en.wikibooks.org/wiki/Programmi ... s_from_Zip

My first, and probably only, wikibook.

If anyone can suggest where I might upload the programming examples (about 30 of them, but they fit into a 2MB zip file) I would be grateful. The code can always be copied from the wiki pages. I see an Attachments button below but I'm not sure if this is the place. Thanks.
Lavos
Posts: 15
Joined: Sunday 28th July 2019 12:22pm

Re: Book Available

Post by Lavos »

GerardBuzolic wrote: Wednesday 14th August 2019 9:06am https://en.wikibooks.org/wiki/Programmi ... s_from_Zip

My first, and probably only, wikibook.

If anyone can suggest where I might upload the programming examples (about 30 of them, but they fit into a 2MB zip file) I would be grateful. The code can always be copied from the wiki pages. I see an Attachments button below but I'm not sure if this is the place. Thanks.
This will help me big time, I need this. Maybe admins could make a spot for tutorials and examples on the forum for content like that.
GerardBuzolic
Posts: 14
Joined: Tuesday 14th May 2019 8:00pm

Re: Book Available

Post by GerardBuzolic »

Wow! Thanks, Lavos. I hope you can make sense of it. G
User avatar
Quincunxian
Posts: 171
Joined: Sunday 25th June 2017 12:14am
Location: Western Australia

Re: Book Available

Post by Quincunxian »

Cudos for all that hard work.
Really liked the Function Reference. (and lots of other stuff)
I 'sometimes' do things the hard way, forgetting that there is a small in-built function to do what I need.
Cheers - Quin.
I code therefore I am
GerardBuzolic
Posts: 14
Joined: Tuesday 14th May 2019 8:00pm

Re: Book Available

Post by GerardBuzolic »

Thanks Quin. Appreciate your having looked through it. G
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Book Available

Post by cogier »

OK the book is now available from Gambas.One and all the example programs are there as well. The book is on the menu bar or click here.

Well done to Gerry! :D
User avatar
Got2BeFree
Posts: 91
Joined: Saturday 26th November 2016 2:52am
Location: Lost

Re: Book Available

Post by Got2BeFree »

I haven't had a chance to look at the book yet since I haven't had much Gambas time in the past 3 months. I'm sure I'll be able to learn a lot from it. This is something that has been lacking for Gambas for a very long time. Thanks!
sholzy

I'm wondering around lost in the past, not knowing where the present is.
GerardBuzolic
Posts: 14
Joined: Tuesday 14th May 2019 8:00pm

Re: Book Available

Post by GerardBuzolic »

Thanks sholzy/Got2BeFree. We muddle along.
GerardBuzolic
Posts: 14
Joined: Tuesday 14th May 2019 8:00pm

Gambas From Zip Notebook Program

Post by GerardBuzolic »

With the latest Gambas, the Tray Icon Notebook (last of the sample programs) is giving an error.
When the form becomes visible with two middle-clicks on the tray icon there is a message saying "Connection already open".
It can be fixed with the addition of one word, TRY, in the sub called ConnectDatabase.
-Gerry

- - -
Public Sub ConnectDatabase()

  db1.Type = "sqlite"
  db1.host = User.home
  db1.name = "Notebook.sqlite"
  Try db1.Open 'Form seems to process the Open event when it becomes visible now with latest Gambas. Database may be already connected.
  SelectAllNotes

End
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Book Available

Post by cogier »

Hi Gerry,

Send me the whole .zip with the correction and I will change it for you.

Charlie.
Post Reply