Search found 459 matches

by stevedee
Thursday 30th September 2021 8:05am
Forum: Beginners
Topic: Console Application
Replies: 3
Views: 285

Re: Console Application

...When I run it within the Gambas3 IDE, everything works GREAT! I see the mic icon on the taskbar being muted. Just perfect. LOL Now the problem is, how do I run this on bash (terminal)? I tried simply running the .gambas file but it throws all sorts of errors... Please post the output from the te...
by stevedee
Thursday 23rd September 2021 3:29pm
Forum: General
Topic: Passing an argument from Filemanager to a Gambas-App
Replies: 5
Views: 362

Re: Passing an argument from Filemanager to a Gambas-App

Yes sorry, its argument [1] as Charlie said, not [0] which is always the name of the program. I modified some code to test it:- If Application.Args[1] <> "" Then strThumbNail = LibRAW.ExtractSingleThumbnail(Application.Args[1]) Me.Text = "Arg found:" & Application.Args[1] Else strThumbNail = LibRAW....
by stevedee
Thursday 23rd September 2021 1:40pm
Forum: General
Topic: Passing an argument from Filemanager to a Gambas-App
Replies: 5
Views: 362

Re: Passing an argument from Filemanager to a Gambas-App

I don't really understand your question or why you are talking about gb.Args, I think you just need the standard Application class. I would have thought you could just start your Gambas program with something like: myImageViewer filename ...and then read the filename from Application.Args[0] in your...
by stevedee
Friday 17th September 2021 12:08pm
Forum: General
Topic: How to read incoming tcp data packet - string not empty but no data ?
Replies: 6
Views: 452

Re: Re:Solved- How to read incoming tcp data packet - string not empty but no data ?

...Data from android tablet send : "01" Data received in Quote(strmsg) = "\x00\x00\x00\x0201" Data from android tablet send : "12" Data received in Quote(strmsg) = "\x00\x00\x00\x0212" I do not know what I see ,how to understand what these "\x00\x00\x00\x02" signs are... Hi dinge, I've just returne...
by stevedee
Thursday 09th September 2021 8:59am
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 982

Re: Create Install package for debian

...What I am meaning about debian is that it can't resolve the dependancy of Gambas3-runtime version 3.15 or higher. I also can't install the runtime manually as gambas3-runtime is not found in the debian repositories. I am wondering if they exist for Debian 11 or is there another repository I need...
by stevedee
Monday 06th September 2021 6:21pm
Forum: Lounge
Topic: Cross Platform
Replies: 3
Views: 431

Re: Cross Platform

This is a question that comes up from time-to-time, and the answer is no. The motivation to create Gambas was to provide a visual programming environment for Linux, not to conquer the world with yet another software language. Linux is very different from Windows, so a cross-platform language would n...
by stevedee
Tuesday 24th August 2021 7:37am
Forum: General
Topic: new project needs help
Replies: 4
Views: 436

Re: new project needs help

...Thank you for this information. I will attempt to contact the developers of motion to see if it will work for our purposes... In case I've confused you, "motion" is open source, so you just download it and use it in your project. I haven't used the latest version but (assuming it hasn't changed ...
by stevedee
Monday 23rd August 2021 7:55pm
Forum: General
Topic: new project needs help
Replies: 4
Views: 436

Re: new project needs help

...3.. some further guidance in being able to detect motion on the above mentioned cameras. Done in program not by camera setting... Take a look at "motion" (formerly Kenneth Lavrsens motion: http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome) which is now under new management: https://motion-pr...
by stevedee
Wednesday 11th August 2021 5:18pm
Forum: General
Topic: Sin Cos
Replies: 4
Views: 558

Re: Sin Cos

print cos(a) result:- 6.12323399573677E-17 What is wrong here? As has already been stated, these kind of rounding errors are to be expected on a digital computer. 3 points:- - you will get the same result if you perform the same calculations in LibreOffice Calc (... on the same computer ) - the err...
by stevedee
Friday 23rd July 2021 10:21am
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 752

Re: message window on wrong monitor

...when using multiple monitors the x and or y attributes are essentially doubled making the monitors a single entity. so to put something on a particular monitor you would have to set the x or y values beyond the first monitor and into the field of the desired monitor... OK, I'm probably missing s...