Search found 518 matches

by stevedee
Thursday 23rd September 2021 3:29pm
Forum: General
Topic: Passing an argument from Filemanager to a Gambas-App
Replies: 5
Views: 3805

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] Els...
by stevedee
Thursday 23rd September 2021 1:40pm
Forum: General
Topic: Passing an argument from Filemanager to a Gambas-App
Replies: 5
Views: 3805

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: 4706

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\...
by stevedee
Thursday 9th September 2021 8:59am
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 9719

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 6th September 2021 6:21pm
Forum: Lounge
Topic: Cross Platform
Replies: 4
Views: 10109

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: 2968

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'...
by stevedee
Monday 23rd August 2021 7:55pm
Forum: General
Topic: new project needs help
Replies: 4
Views: 2968

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:/...
by stevedee
Wednesday 11th August 2021 5:18pm
Forum: General
Topic: Sin Cos
Replies: 4
Views: 3180

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: 4434

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...
by stevedee
Thursday 22nd July 2021 6:08pm
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 4434

Re: message window on wrong monitor

...Is there a way to control where the window appears? I don't know, but take a look at wmctrl which can move the active window to another workspace; wmctrl -r :ACTIVE: -t 2 ...will send active window to workspace 3 ...I can't remember whether extra monitors are like additional workspaces.