Search found 1113 matches

by cogier
Monday 10th April 2023 11:08am
Forum: General
Topic: Use speech recognition in gambas
Replies: 8
Views: 1239

Re: Use speech recognition in gambas

This might be of interest, https://unix.stackexchange.com/question ... -for-linux which shows some examples of the Vosk software that vuott talks about.
by cogier
Monday 10th April 2023 10:49am
Forum: General
Topic: Using gambas as commercial without providing source code
Replies: 2
Views: 648

Re: Using gambas as commercial without providing source code

Welcome to the forum. Unless somebody knows better I don't think it is breaking the licence to sell any program made with Gambas, you can choose what licence to apply to your own software. I would have thought that you need to show somewhere that the program was written in Gambas that has a GPL lice...
by cogier
Sunday 9th April 2023 4:05pm
Forum: General
Topic: Opera and cry from the Gambas IDE
Replies: 15
Views: 2960

Re: Opera and cry from the Gambas IDE

Not joke for for me.

very close to removing Gambas from my computer !
Apparently you can hack the Gambas code to Rem out these 'features'. There will be others at Christmas. Last year it started 'snowing'!
by cogier
Sunday 9th April 2023 11:23am
Forum: General
Topic: Opera and cry from the Gambas IDE
Replies: 15
Views: 2960

Re: Opera and cry from the Gambas IDE

It is because Benoit Minisini is a religious man.
by cogier
Sunday 9th April 2023 11:18am
Forum: Beginners
Topic: RegExp Global Search
Replies: 7
Views: 1080

Re: RegExp Global Search

I don't know much about RegExp, so I have tried to solve this another way. Run the following code in a new Graphical Application. ' Gambas class file ''Requires gb.gui ''ExifTool needs to be installed Splitter1 As Splitter Splitter2 As Splitter FileChooser1 As FileChooser PictureBox1 As PictureBox T...
by cogier
Sunday 9th April 2023 8:10am
Forum: Beginners
Topic: using Gambas for single board pc Appliance
Replies: 4
Views: 741

Re: using Gambas for single board pc Appliance

I can only speak for the Raspberry Pi which runs Gambas without issue. If you install the recommend OS you can install Gambas from the command line. Provided your program is not too processor intensive it will run just fine.
by cogier
Saturday 8th April 2023 9:08am
Forum: Beginners
Topic: RegExp Global Search
Replies: 7
Views: 1080

Re: RegExp Global Search

Is this what you are after? Public Sub Form_Show() Dim mySubject As String = "ExifTool Version Number : 12.58\nFile Size : 2.3 MB\nMegapixels : 12.6\nShutter Speed : 1/50\n" TextArea1.Font = Font["monospace,12"] TextArea1.Text = mySubject End https://www.cogier.com/gambas/Exif1.p...
by cogier
Saturday 8th April 2023 8:45am
Forum: Beginners
Topic: How to make a beep [SOLVED]
Replies: 5
Views: 1096

Re: How to make a beep

This is the way I do it. You need gb.sdl2.audio . You then load a music file and play it. This can be a 'beep' or a 2-hour concert. I have attached a 'beep.ogg' file for you to put in your program's main folder. ''Needs gb.sdl2.audio Public Sub Form_Open() Music.Load(Application.Path &/ "be...
by cogier
Thursday 6th April 2023 2:32pm
Forum: Beginners
Topic: How detect Mouse wheel direction?
Replies: 2
Views: 671

Re: How detect Mouse wheel direction?

Hi iiiypuk.me and welcome to the forum. Try the following code: -

Public Sub Form_MouseWheel()

  If Mouse.Delta = 1 Then Print "Rolling forward"
  If Mouse.Delta = -1 Then Print "Rolling backwards"

End
by cogier
Thursday 6th April 2023 2:25pm
Forum: Beginners
Topic: KeyPress event double fires after using MouseWheel
Replies: 4
Views: 806

Re: KeyPress event double fires after using MouseWheel

I'm also using Mint 21.1 and the problem you report also happens to me, but I have discovered that this only happens with gb.gui. If you change from GTK to QT using gb.gui.qt instead, the problem goes away. Whether this is a bug in Gambas or in GTK, I leave to others to work out.