Search found 1552 matches
- Wednesday 22nd March 2023 2:02pm
- Forum: Beginners
- Topic: Open file location [SOLVED]
- Replies: 7
- Views: 1208
Re: Open file location
i do not think nohup is what you want. I just tried this and it worked... Public Sub OpenNemo(sSelectFile As String) Shell "nemo " & Shell(sSelectFile) & "&" End Placing a & at the end of the command seemed to free the child from the parent. It was not possible to...
- Tuesday 21st March 2023 9:15pm
- Forum: Beginners
- Topic: Open file location [SOLVED]
- Replies: 7
- Views: 1208
Re: Open file location
Hello all fellow gambasers. I will start with an introduction. I have dualbooted windows and solus linux for 5 years. I never managed to install gambas on solus. But things have changed now. I just bougth a new pc and I am now trying to survive with linux mint only. Being familiar with vb2008expres...
- Saturday 18th March 2023 11:03pm
- Forum: Lounge
- Topic: Linux Mint Users - Upgrade to 21.1 Vera - FYI
- Replies: 6
- Views: 5961
Re: Linux Mint Users - Upgrade to 21.1 Vera - FYI
Greetings all - For any Mint users. The only issue I experienced was that collapsing of code in the editor did not work, but this has been an ongoing and intermittent issue so expect it will resolve itself in due course. Have you tried using the IDE the old way? (using QT instead of gtk3) , it migh...
- Saturday 18th March 2023 12:40pm
- Forum: Lounge
- Topic: Linux Mint Users - Upgrade to 21.1 Vera - FYI
- Replies: 6
- Views: 5961
Re: Linux Mint Users - Upgrade to 21.1 Vera - FYI
Cheers for the info.
I upgraded 2 of my machines a little while ago but I do not use the apt gambas I compile and had no gambas issues at all.
I upgraded 2 of my machines a little while ago but I do not use the apt gambas I compile and had no gambas issues at all.
- Thursday 16th March 2023 12:22am
- Forum: Lounge
- Topic: fedora repo
- Replies: 4
- Views: 5167
Re: fedora repo
I love that you have the same sense of humor. The links only tell me how to add repos not how to put our gambas software into a repo for public download. Sort of not quite on target. But thanks for the advise I will get more chickens to sacrifice, worst case is a lot of eggs or a great bbq. But how...
- Wednesday 15th March 2023 12:47am
- Forum: Lounge
- Topic: fedora repo
- Replies: 4
- Views: 5167
Re: fedora repo
I work mostly in Fedora so I am wondering if anybody can help with getting some of my projects added to a repo. I have looked it up and I think I stopped at the point where I have to sacrifice a live chicken at midnight during a full moon. I am looking for something simple. If your process takes mo...
- Thursday 9th March 2023 1:09pm
- Forum: General
- Topic: Cool idea for object New initialization defaults
- Replies: 1
- Views: 12271
Cool idea for object New initialization defaults
I just had a cool idea that i thought was worth sharing for when creating a new object instance. I added this for my _new() method... Public Sub _new(Optional Init As Collection) If Init Then For Each sVar As Variant In Init Object.SetProperty(Me, Init.Key, sVar) Next Endif End the class in question...
- Thursday 9th March 2023 3:01am
- Forum: General
- Topic: color button to rgb
- Replies: 5
- Views: 1512
Re: color button to rgb
Here's a slightly more concise version of the same routine. Public Sub GetRGB(ArgColor As Integer) As Integer[] Dim r, g, b As Integer r = Shr(ArgColor, 16) And &FF& g = Shr(ArgColor, 8) And &FF& b = ArgColor And &FF& Return [r, g, b] End ooh nice , much better :) so...
- Thursday 9th March 2023 2:29am
- Forum: General
- Topic: color button to rgb
- Replies: 5
- Views: 1512
Re: color button to rgb
There's a few ways i think. I do not know the best way. Here's a function that returns [r,g,b,a] values from a color It uses Color.ToHTML() to get a Hex value then converts it. (EDIT: updated to handle alpha) Public Sub GetRGB(Colour As Integer) As Float[] Dim R, G, B, A As Float Dim sChar As String...
- Wednesday 8th March 2023 1:13am
- Forum: General
- Topic: A Gambas Compiler
- Replies: 8
- Views: 2420
Re: A Gambas Compiler
Sounds like you are using Dev branch , problems are expected on dev branch , that's what it's for , Ben or someone else adds stuff , we test it, and then we report problems. The sorts of problems you are talking about are rare if you stick with stable branch. The rollercoaster of instability you mak...