Search found 13 matches

by mikejp56
Thursday 25th November 2021 5:46pm
Forum: General
Topic: Installing Gambas Runtime
Replies: 8
Views: 166

Re: Installing Gambas Runtime

Hi cogier,
Thanks for the reply.
You are exacly right. The other machine does not have the ppa setup. I will try this later.
Thanks again!
Regards,
mikejp56
by mikejp56
Thursday 25th November 2021 2:16pm
Forum: General
Topic: Installing Gambas Runtime
Replies: 8
Views: 166

Re: Installing Gambas Runtime

Hi BruceSteers, First let me thank you again for your help! So I followed your lead; I installed gambas3-gb-image, gambas3-gb-gui, and gambas3-gb-form as instructed. Then when I run ./Forms.gambas I get the following error message: ERROR: #2: Cannot load class 'FMain': Bytecode too recent. Please up...
by mikejp56
Thursday 25th November 2021 2:12am
Forum: General
Topic: Installing Gambas Runtime
Replies: 8
Views: 166

Re: Installing Gambas Runtime

Hi BruceSteers,
Here is a screenshot.
Regards,
mikejp56
Screenshot .png
Screenshot .png (22.9 KiB) Viewed 142 times
by mikejp56
Wednesday 24th November 2021 7:35pm
Forum: General
Topic: Installing Gambas Runtime
Replies: 8
Views: 166

Re: Installing Gambas Runtime

Hi cogier,
When I type forms.gambas I get forms.gambas: command not found.
I have enclosed a screenshot.
Screenshot.png
Screenshot.png (22.2 KiB) Viewed 156 times
Thanks for your continued help!
Regards,
mikejp56
by mikejp56
Wednesday 24th November 2021 6:10pm
Forum: General
Topic: Installing Gambas Runtime
Replies: 8
Views: 166

Installing Gambas Runtime

Hi All, I followed the directions to install the Gambas runtime so I can run a Gambas generated executable file on a PC without Gambas installed. I ran the following: sudo apt update Sudo apt install gambas3-runtime These commands ran successfully. However when I click on the .gambas file (the execu...
by mikejp56
Wednesday 24th November 2021 3:13pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 335

Re: Works in IDE; not when made as an executable

Hi BruceSteers,
Thanks so much for your help...the -c 0 switch did the trick!
And thanks for explaining why it worked in the IDE but not as an executable.

Hi stevedee,
Also thanks for all of your help too!

I hope you both have a wonderful holiday season!

Regards,
mikejp56
by mikejp56
Tuesday 23rd November 2021 6:59pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 335

Re: Works in IDE; not when made as an executable

Hi Guys, I have attached 3 screenshots from this problem. From IDE.png From executable.png Executable file.png 1) From IDE is from the GAMBAS environment. Both text areas are filled in. 2) From executable is from the executable generated by the IDE. The textarea for the CPU is blank. 3) This is wher...
by mikejp56
Tuesday 23rd November 2021 6:15pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 335

Re: Works in IDE; not when made as an executable

Hi Guys,
So if I run the sub without the grep statement, it runs fine; it just gives the entire command output. When I run the sub with the grep statement, the text area or text box is empty.
Why would grep break this?
Regards,
mikejp56
by mikejp56
Tuesday 23rd November 2021 3:20pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 335

Re: Works in IDE; not when made as an executable

Hi grayghost4, Thanks so much for your help. That nailed it! But why do I need to use "Quote" instead of just using "TextArea.Text=Result100"? I have used this on other parts of this project with no problems. Thanks again. Is there a list or a document that has ALL of the keywords and commands, mayb...
by mikejp56
Tuesday 23rd November 2021 1:02pm
Forum: General
Topic: Works in IDE; not when made as an executable
Replies: 19
Views: 335

Re: Works in IDE; not when made as an executable

Hi BruceSteers, I tried your change using sText, so my code now looks like this: Public Sub Button4_Click() Dim Result100 As String Shell "inxi -C -c 0" To sText TextArea100.Text = Quote(sText) End WhenI run it I get "Unknown identifier: sText. Perhaps we have different versions of Gambas3? My versi...