Search found 1113 matches

by cogier
Monday 11th July 2022 2:23pm
Forum: Lounge
Topic: Renting a VPS
Replies: 7
Views: 10584

Re: Renting a VPS

Did you click the "refer a friend" link for us to use? might be a bonus in it for you Here is the link:- https://m.do.co/c/94fd514c5643 Do you have full root access to your VPS 'droplet' so you can install whatever you would like? I mean are you 100% free to configure and install whatever...
by cogier
Sunday 10th July 2022 2:15pm
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 4150

Re: start method in class

Try using a Module, not a class. If you still can't get it to work, post the code, so we can have a look.
by cogier
Saturday 9th July 2022 4:42pm
Forum: Lounge
Topic: Renting a VPS
Replies: 7
Views: 10584

Re: Renting a VPS

Charlie, do you know much about the digital ocean droplets, ie can all non-gui gambas components be used or at least the web components? The cost for me is about $6.00 a month for a "droplet" (£5.00), this depends on usage. As far as I know, all Gambas non-GUI components will work, not su...
by cogier
Friday 8th July 2022 3:49pm
Forum: Lounge
Topic: Renting a VPS
Replies: 7
Views: 10584

Re: Renting a VPS

Have a look here. This is what is used on Gambas.One for the Playground and Farm. You can get started for free here. I am not affiliated to them just a customer.

I notice they are looking for staff here.
by cogier
Wednesday 6th July 2022 2:52pm
Forum: Web
Topic: gb.web on a server
Replies: 11
Views: 9731

Re: gb.web on a server

The Playground is linked to Gambas.One. The work is done by a 'droplet' on Digital Ocean. Costs about $6 a month. You can start for free here . The droplet contains Ubuntu (no GUI). Ubuntu was picked so that we could use the ppa to keep Gambas updated. The project was the work of my friend Matt and ...
by cogier
Sunday 26th June 2022 2:27pm
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7934

Re: DrawingArea PAINT.ROTATE(RAD(x))

Cogier - Not sure what went on... but as I thought... yours rotates the entire image. A minor change to the program, and I think this is what you want:- Video here ' Gambas class file ''USE gb.gui.qt for best results DrawingArea1 As DrawingArea Slider1 As Slider Public Sub Form_Open() With Me .Heig...
by cogier
Saturday 25th June 2022 2:46pm
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7934

Re: DrawingArea PAINT.ROTATE(RAD(x))

I created a new file in QT, pasted in the code and attempted to run it...
NULL OBJECT in FMAIN 36
I have tried the code again and it works for me. See here.

It should still work without the Public Sub Form_Arrange() routine if that helps.
by cogier
Saturday 25th June 2022 2:32pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 3719

Re: Move project to new pc

The files : -

modMain.module~(1)
modMain.Module~(2)
modMain.Module~(3)

The easy way is from Gambas use Project > Cleanup as I think these are just backup files, if they are this method will remove them.

Without seeing the whole program, I am unable to advise on the others.
by cogier
Friday 24th June 2022 2:46pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 3719

Re: Move project to new pc

Welcome to the forum. It sounds like you have not copied the 'hidden' files. I suggest you make a Source Archive :- https://www.cogier.com/gambas/Copy1.png Copy this file to your VM folder, then in Gambas File > Open project... Right-click on the archive and select Uncompress file Gambas will then j...
by cogier
Thursday 23rd June 2022 3:35pm
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7934

Re: DrawingArea PAINT.ROTATE(RAD(x))

I think what you want is below, but I worry when I know your maths is so much better than mine. Run this in a new graphical program: - ' Gambas class file ''USE gb.gui.qt for best results DrawingArea1 As DrawingArea Slider1 As Slider Public Sub Form_Open() With Me .Height = 300 .Width = 300 .Padding...