Search found 1113 matches

by cogier
Friday 31st August 2018 1:53pm
Forum: General
Topic: icons
Replies: 5
Views: 7745

Re: icons

I feel like I am asking too many questions here but that is how we learn. Keep asking, that's what this forum is for! :D If anybody does knows the answer to question 1/. I would also like to know how to do this. Question 2/. Put your icon in your program's folder. Menu Project>Properties... Then cl...
by cogier
Thursday 30th August 2018 4:22pm
Forum: General
Topic: need help with updates for my program
Replies: 9
Views: 10775

Re: need help with updates for my program

..your sudo program was missing the semicolon. I thought 'That's interesting' so I installed Fedora 28 and Gambas. I installed 'Sudo' and had all sorts of problems as my name was not in the 'sudoers' file and I was going to be reported! :( Anyway once I had sorted that I had no problem as all, I di...
by cogier
Wednesday 29th August 2018 4:22pm
Forum: General
Topic: need help with updates for my program
Replies: 9
Views: 10775

Re: need help with updates for my program

Why does you program need to be in /bin? If it needs to go there you could use my 'Sudo' program on the Farm but this will require the user to enter the password.

Can you post the program here so we can see how it might be done?
by cogier
Monday 27th August 2018 10:18am
Forum: Lounge
Topic: Gambas 3.11 is out
Replies: 13
Views: 18847

Re: Gambas 3.11 is out

Hi Steve,

The Terminal command I use for *buntu, Mint etc. distros is: -

Code: Select all

sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3 
This will add the ppa and install or update Gambas3 stable.
by cogier
Sunday 26th August 2018 7:54am
Forum: General
Topic: need help with updates for my program
Replies: 9
Views: 10775

Re: need help with updates for my program

Your program can't closed itself, update and restart. You will need another program to do this for you or you will have to do the job yourself. AutoUpdater does not require any user intervention to do the update.

If you use Dropbox or similar you won't need a 'repo'.
by cogier
Friday 24th August 2018 9:46am
Forum: General
Topic: need help with updates for my program
Replies: 9
Views: 10775

Re: need help with updates for my program

Have a look at a program I wrote some time ago that will do what you requested. On the Gambas Farm you will find 'AutoUpdater'. Make an executable of it and put it on your Desktop. Don't run it yet as nothing will happen. Edit the Desktop file so you can add an -s switch to the command e.g. '/home/m...
by cogier
Tuesday 21st August 2018 7:40am
Forum: General
Topic: Printing example
Replies: 7
Views: 8889

Re: Printing example

What distro are you using?
by cogier
Monday 20th August 2018 5:38pm
Forum: General
Topic: Printing example
Replies: 7
Views: 8889

Re: Printing example

The other files are there but you can't see them as they are 'hidden'. In you File Manager try pressing [Ctrl] + H to un-hide them. Dolphin: use [Alt] ++.

Does that help? Gambas should see the files once they have been extracted.
by cogier
Monday 20th August 2018 11:53am
Forum: General
Topic: Printing example
Replies: 7
Views: 8889

Re: Printing example

I have just uploaded an example on the Farm. Can you not download it? I have just downloaded from here http://gambas.one/gambasfarm/ and it worked OK for me.

I have uploaded my example and another one here for you.
Printing_example-0.1.0.tar.bz2
(16.59 KiB) Downloaded 545 times
by cogier
Tuesday 7th August 2018 12:33pm
Forum: General
Topic: Can't create RPM
Replies: 2
Views: 4377

Re: Can't create RPM

Looking at the error it has something to do with a 'picture'. It could be a permission problem. Is the 'picture' located in a strange place? Are you creating this in Fedora/Red Hat/CentOS distro?

Can you let us have a look at the code.