Search found 1113 matches

by cogier
Tuesday 4th April 2023 9:01am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 1088

Re: Problem with installing gambas3

F11 does nothing.
Any ideas?
No, but, what happens if you 'Print' something? That opens it automatically.
by cogier
Monday 3rd April 2023 4:43pm
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 1088

Re: Problem with installing gambas3

As usual, the Gambas package on Ubuntu is faulty. I suggest you load Synaptic, mark all the 'gambas3' files and delete them, it is important that you get rid of all of them. Once done, run the following command in Terminal: - sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get...
by cogier
Monday 3rd April 2023 4:30pm
Forum: Beginners
Topic: SVG scaling [SOLVED]
Replies: 4
Views: 771

Re: SVG scaling

What is the best way to properly scale an svg graphic for use in Gambas IconView? Well, I have just spent about an hour and a half on this and came up with the following that uses a little less code. Note that line 24 is needed as for some reason a SVG image saved at 128,128 ends up at 160,160! Pub...
by cogier
Monday 3rd April 2023 2:39pm
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1788

Re: How to play a video file in Gambas? [SOLVED]

Is there a way to play the video rotated 90 degrees?
You could rotate the video before playing it. Have a look here.
by cogier
Monday 27th March 2023 4:03pm
Forum: Component Showcase
Topic: Keystroke recorder with TextEditor
Replies: 4
Views: 5759

Re: Keystroke recorder with TextEditor

I can't get the video to work in your post, but it works here.
by cogier
Thursday 23rd March 2023 2:57pm
Forum: General
Topic: Best GUI programming languages for Linux
Replies: 3
Views: 801

Best GUI programming languages for Linux

I bumped in to this and thought it might be of interest.
by cogier
Saturday 18th March 2023 3:36pm
Forum: Lounge
Topic: Linux Mint Users - Upgrade to 21.1 Vera - FYI
Replies: 6
Views: 5913

Re: Linux Mint Users - Upgrade to 21.1 Vera - FYI

The upgrade to Mint 21.1 raised issues with me as well. I had to uninstall Gambas, then reinstall it from the ppa after the update.
by cogier
Sunday 5th March 2023 3:39pm
Forum: Lounge
Topic: A nice video of a bit of computing history
Replies: 2
Views: 4904

Re: A nice video of a bit of computing history

Well worth a look. Thanks.
by cogier
Sunday 5th March 2023 11:18am
Forum: Beginners
Topic: Finding a value within an array
Replies: 3
Views: 1301

Re: Finding a value within an array

There is an easy way to do this: -

Public Sub Form_Open()

  Dim ar As Integer[] = [5, 6, 4, 7, 3, 8, 2, 9, 1, 0]

  Print ar.Find(3)  ''Result = 4
  Print ar.Find(6)  ''Result = 1

End


There is a lot you can do with arrays. Have a look ]here.
by cogier
Friday 3rd March 2023 3:14pm
Forum: Lounge
Topic: ChatGPT: something to play with over Christmas
Replies: 11
Views: 19285

Re: ChatGPT: something to play with over Christmas

I now have access to the Bing AI. Here is my first question and the answer. The code works without modification! https://www.cogier.com/gambas/Bing_AI_1.png This is the code: - Public Sub Button1_Click() Dim i As Integer Dim s As String s = "" For i = Asc("A") To Asc("Z"...