Search found 145 matches

by cogier
Monday 09th April 2018 6:55pm
Forum: General
Topic: DrawingArea help needed
Replies: 8
Views: 57

Re: DrawingArea help needed

Unfortunately it doesn't tell you how to print the contents of a DrawingArea.
by cogier
Monday 09th April 2018 4:17pm
Forum: General
Topic: DrawingArea help needed
Replies: 8
Views: 57

Re: DrawingArea help needed

Have a look at the attached example that draws and clears a DrawingArea.

Have a look at ChartExample in the Gambas Farm, that uses a DrawingArea but no drawing is needed.

I'm not sure about printing yet!

Let us know how you get on.
Drawing.tar.gz
(12.92 KiB) Downloaded 8 times
by cogier
Monday 02nd April 2018 4:39pm
Forum: General
Topic: img2key
Replies: 2
Views: 124

Re: img2key

That's a very professional video!
by cogier
Thursday 22nd March 2018 4:53pm
Forum: Web
Topic: Playground
Replies: 2
Views: 267

Re: Playground

Now the 'GIST' has stopped working! https://gambas-playground.proko.eu/
by cogier
Friday 16th March 2018 12:54pm
Forum: General
Topic: Individual color values of a pixel?
Replies: 8
Views: 357

Re: Individual color values of a pixel?

I had a go at this as well and came up with the attached program
Image_colour.png
Image_colour.png (21.21 KiB) Viewed 342 times
Image_colour.tar.gz
(17.73 KiB) Downloaded 18 times
Let us know how you get on.
by cogier
Monday 05th March 2018 12:50pm
Forum: General
Topic: Image manipulation
Replies: 7
Views: 281

Re: Image manipulation

Hi RichardB and welcome to the forum.

Have you got a couple of pictures you can show us as an example of what you are trying to do? What type of file compression are you using as I think this would not be possible with .jpg files?
by cogier
Sunday 04th March 2018 9:27am
Forum: General
Topic: How To Play Audio and Video With Gambas?
Replies: 3
Views: 225

Re: How To Play Audio and Video With Gambas?

Hi R77 and welcome to the forum.

You could start by looking on the Gambas Farm. You will find a link to the Farm on the first screen when opening Gambas. Have a look for 'VerySimpleVideoPlayer', written by me :D. There are a few other examples on there you can look at.

Let us know how you get on.
by cogier
Monday 26th February 2018 12:21pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 667

Re: Send command "string" over tcp/ip

Can you post the VB code you are using with Wine that works please.
by cogier
Friday 23rd February 2018 4:13pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 667

Re: Send command "string" over tcp/ip

If you are still having problems I see there is an example in the Gambas Farm called 'ClientSocket'. You can access the 'Farm' from the 'Tools' menu in the IDE.
by cogier
Wednesday 21st February 2018 9:59pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 667

Re: Send command "string" over tcp/ip

Hi agili and welcome to the site. I am not an expert on VB but I have asked a friend of mine to look at your code, however I can point out a couple of things. 1/. Gambas requires that all 'Dim' statements are declared at the beginning of the routine, you can't just add one in the middle. 2/. 'Catch'...