Search found 295 matches

by cogier
Friday 23rd August 2019 2:36pm
Forum: Lounge
Topic: Gambas Discord
Replies: 2
Views: 36

Re: Gambas Discord

I'm with sholzy on this one. it's a shame but I don't think that there is enough of us out there to make it work.

If you look here you will see that the lowest language has only 0.26% and I suspect Gambas is well below that in popularity. We need more users then it might work.
by cogier
Monday 19th August 2019 5:12pm
Forum: General
Topic: Server issue
Replies: 4
Views: 108

Re: Server issue

Thanks guys, You made me think 'Do I need an external browser'. The answer appears to be 'No'. All I needed to do was open the created web page in a WebView. Why didn't I think of that before?! :( If anybody would like to try the updated program here and pass on any comments I would be greatful. FGa...
by cogier
Monday 19th August 2019 4:40pm
Forum: General
Topic: Using Settings File
Replies: 1
Views: 29

Re: Using Settings File

I wrote a simple program to show how to use settings here if it helps.
by cogier
Saturday 17th August 2019 3:08pm
Forum: Project showcase
Topic: Book Available
Replies: 7
Views: 134

Re: Book Available

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
by cogier
Tuesday 13th August 2019 2:59pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 515

Re: 1st Time User Gambas Questions(Former VB6 user)

I have never used structs as Gambas says in capitals 'DON'T USE STRUCTURES, UNLESS YOU HAVE TO!'

What are you trying to acheive? Pehaps we can find an alternative.
by cogier
Monday 12th August 2019 2:03pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 515

Re: 1st Time User Gambas Questions(Former VB6 user)

That helped me. :P

Just use: -
Return True
not
.FileExist = True
by cogier
Sunday 11th August 2019 10:13am
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 515

Re: 1st Time User Gambas Questions(Former VB6 user)

Hi Lavos, The first error you show is caused by you trying to do a 'Dir' , which requires a directory, and you are suppling a filename. Looking at the code you are trying to find if a file exists and the best way to do that is with the 'Exist' command. You can use &/ to join 2 paths together and you...
by cogier
Saturday 10th August 2019 10:05am
Forum: General
Topic: ScrollArea
Replies: 3
Views: 131

Re: ScrollArea

Hi Quin, Sorry it didn't work for you. I downloaded it and it seems OK, however here it is again in a different format and the code as well. Public Sub ScrollArea1_Draw() Draw.Picture(Picture.Load(Application.Path &/ "test.png"), 150, 150, 300, 300) End Test.tar Regarding the state of Gambas example...
by cogier
Friday 09th August 2019 2:10pm
Forum: General
Topic: ScrollArea
Replies: 3
Views: 131

Re: ScrollArea

The ScrollArea seems to have some complicated options. Getting a picture in is not too difficult, getting it to scroll will need more work, but attached is a start.

Image
Test.tar.gz
(33.33 KiB) Downloaded 7 times
by cogier
Wednesday 07th August 2019 2:36pm
Forum: General
Topic: Server issue
Replies: 4
Views: 108

Server issue

This is a project I have been working on. It is a GUI for the command line tool 'fgallery' that creates a good looking web gallery of photos, see here . It was all working well until there was a change in browser behaviour which now produces this error: - http://www.cogier.com/gambas/fgalleryerror.p...