Search found 262 matches

by vuott
Monday 27th November 2023 3:10pm
Forum: The Gambas IDE
Topic: Gambas -> USB -> DragonRise USB Joystick -> Use
Replies: 7
Views: 13424

Re: Gambas -> USB -> DragonRise USB Joystick -> Use

:? A loophole is always possible.
by vuott
Monday 27th November 2023 10:43am
Forum: The Gambas IDE
Topic: Gambas -> USB -> DragonRise USB Joystick -> Use
Replies: 7
Views: 13424

Re: Gambas -> USB -> DragonRise USB Joystick -> Use

In my opinion "js0" is interesting.
Is "/dev/input/js0" file-device present ?
by vuott
Tuesday 21st November 2023 11:24am
Forum: Beginners
Topic: Upload and generate a text file
Replies: 8
Views: 10974

Re: Upload and generate a text file

...perhaps it would be appropriate for you to show those codes that generate errors: an attempt could be made to resolve them.
by vuott
Monday 20th November 2023 10:16pm
Forum: General
Topic: DrawingArea.Refresh erases the DrawingArea
Replies: 8
Views: 8227

Re: DrawingArea.Refresh erases the DrawingArea

Zeke99 wrote: Monday 20th November 2023 8:41pm My knowledge of the italian language is a bit limited (count from 1 to twelve) but I think I got the hang of it.
You can use a translator on-line, for example:
https://www.deepl.com/en/translator
by vuott
Monday 20th November 2023 9:00pm
Forum: Beginners
Topic: a prompt for input in c.l. application
Replies: 3
Views: 3547

Re: a prompt for input in c.l. application

In addition to "File.In.ReadLine()" you can also use "Input":
Public Sub Main()

   Dim s As String 

   Write "type something here: "
   Flush

   Input s

   Print "the text typed was: "; s

End
by vuott
Sunday 19th November 2023 11:39pm
Forum: General
Topic: DrawingArea.Refresh erases the DrawingArea
Replies: 8
Views: 8227

Re: DrawingArea.Refresh erases the DrawingArea

Zeke99 wrote: Sunday 19th November 2023 9:59pm If anyone have an example of manipulating pixels in an image please let me know.
Perhaps :? this page can help you a little:
https://www.gambas-it.org/wiki/index.ph ... ory_Stream
by vuott
Sunday 19th November 2023 10:33pm
Forum: General
Topic: DrawingArea.Refresh erases the DrawingArea
Replies: 8
Views: 8227

Re: DrawingArea.Refresh erases the DrawingArea

I would use :? arrays for color and lines. Private lines As New Float[] Private colores As New Integer[] Private StatusValue1 As Byte Public Sub Form_Open() Timer1.Delay = 15000 Timer1.Start End Public Sub DrawingArea1_Draw() If lines.Count == 0 Then Return Select Case StatusValue1 Case 0 colores.Pu...
by vuott
Friday 17th November 2023 3:51pm
Forum: Beginners
Topic: Dropping a file onto TextArea
Replies: 3
Views: 3182

Re: Dropping a file onto TextArea

It was discussed here as well:

viewtopic.php?t=1619
by vuott
Wednesday 15th November 2023 3:02pm
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 20
Views: 17296

Re: How to do audio output selection for MediaPlayer control?

Option 2 If this can not be done, to read in the samples from a sound device at 22.05 kHz, stereo at 8bits to send to a Byte or an Integer to work with. In general with gb.media Component, to change audio characteristics of a file, during its conversion, the MediaPipeline and MediaFilter Classes sh...
by vuott
Wednesday 1st November 2023 9:31pm
Forum: General
Topic: find a control
Replies: 11
Views: 11656

Re: find a control

:? ...you could also use an array of Frame: Private ffrr As New Frame[5] Public Sub Form_Open() For b As Byte = 0 To 4 With ffrr[b] = New Frame(Me) .Name = "A" & b .X = (b * 60) .Y = 50 .W = 50 .H = 50 .Text = "B" & b End With Next End Public Sub Button1_Click() Print ffr...