Search found 300 matches

by cogier
Wednesday 11th September 2019 2:02pm
Forum: General
Topic: Using Keypress
Replies: 1
Views: 32

Re: Using Keypress

Hi cage,

Have a look at: -

IsNumber
IsLetter

In fact there are quite a few interesting 'Is' commands
IsAlnum
IsAscii
IsBlank
IsDigit
IsLCase
IsLetter
IsLower
IsNumber
IsPunct
IsSpace
IsUCase
IsUpper
by cogier
Friday 06th September 2019 3:51pm
Forum: Project showcase
Topic: Fractions Caculator
Replies: 3
Views: 94

Re: Fractions Caculator

Hi cage and welcome. I have had a look at your program and I have a few tips for you. By grouping your buttons 0 to 9 I have managed to reduce 50 lines down to 3. See attached There is no need to set Boolean values to False on starting your program as they are False by default. You can declare the v...
by cogier
Friday 06th September 2019 1:26pm
Forum: Project showcase
Topic: Multimedia File Conversion
Replies: 5
Views: 93

Re: Multimedia File Conversion

Very interesting Quincunxian. I notice that you didn't download my version. I suggest you have a look at it. The form is expandable but it is all done in the IDE there is no 'Form_Resize()' routine required.
by cogier
Wednesday 04th September 2019 3:29pm
Forum: Project showcase
Topic: Multimedia File Conversion
Replies: 5
Views: 93

Re: Multimedia File Conversion

I downloaded the file to have a look. The fact that the form is not expandable got me working.. :geek: I found a bug at, aprox, line 107. The converted file is added to the ListBox, then a few lines later the ListBox is cleared. Lst_Converted.Add(NewFile) ''Adds the file to the ListBox Lab_Message.T...
by cogier
Sunday 25th August 2019 12:30pm
Forum: General
Topic: Did you know?
Replies: 37
Views: 8394

Re: Did you know?

If you want only the data loaded from a file and Split into an array then try this: - Dim sData As String[] = Split(File.Load(Application.path &/ "data"), gb.NewLine, "", True) http://www.cogier.com/gambas/GoodSplit.png Click here for a larger picture The dialogue box on the left is the file and on ...
by cogier
Friday 23rd August 2019 2:36pm
Forum: Lounge
Topic: Gambas Discord
Replies: 3
Views: 177

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: 236

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: 102

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: 349

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: 887

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.