Search found 97 matches

by vuott
Wednesday 11th August 2021 2:26pm
Forum: General
Topic: Sin Cos
Replies: 4
Views: 373

Re: Sin Cos

mugwump wrote:
Tuesday 10th August 2021 6:21pm
print cos(a)

6.12323399573677E-17
Today Gianluigi (a member of italian forum) asked Minisini about the problem of this result.
Minisini replied:

" This is normal. Rad() uses the Pi constant, and floating point numbers are never 100% accurate. "
by vuott
Tuesday 06th July 2021 12:05am
Forum: General
Topic: Email with smtp a pdf
Replies: 6
Views: 570

Re: Email with smtp a pdf

sadams54 wrote:
Monday 05th July 2021 11:01pm
... the mime type to set in the smtp client for sending a pdf file.
...maybe: :|

https://stackoverflow.com/questions/312 ... -pdf-files
https://mimeapplication.net/pdf
by vuott
Sunday 04th July 2021 11:21pm
Forum: General
Topic: [Sloved] Change Listbox list size
Replies: 10
Views: 869

Re: Change Listbox list size

... and if you like the thrill of external functions: :D ' int printf (const char *__restrict __format, ...) ' Write formatted output to stdout. Private Extern printf(__format As String, arg1 As String, arg2 As String) As Integer In "libc:6" Public Sub Main() printf("%-30s%1s\n", "Dataline 1", "Mess...
by vuott
Saturday 03rd July 2021 11:39pm
Forum: General
Topic: [Sloved] Change Listbox list size
Replies: 10
Views: 869

Re: Change Listbox list size

I suggest this page from italian wiki:

https://www.gambas-it.org/wiki/index.ph ... e_per_item
by vuott
Tuesday 29th June 2021 9:22pm
Forum: General
Topic: Picture slide show
Replies: 7
Views: 610

Re: Picture slide show

Of course, try it. :)
by vuott
Tuesday 29th June 2021 8:38pm
Forum: General
Topic: Picture slide show
Replies: 7
Views: 610

Re: Picture slide show

...by using a Picture[ ] or Image[ ] array...
by vuott
Sunday 06th June 2021 10:33am
Forum: General
Topic: [Solved] How to Declared a Array in Gambas
Replies: 4
Views: 695

Re: How to Declared a Array in Gambas

If you want a mono-dimensional array with defined number of elements, you can also use (and is considered preferable ) a non-nested array: Private [or Public] QuickTenderName As New String[7] Public Sub Main() QuickTenderName[0] = "abcde" ...and so on... Similarly with a local variable: Public Sub M...
by vuott
Wednesday 02nd June 2021 12:21pm
Forum: Project showcase
Topic: Hedged
Replies: 6
Views: 1681

Re: Hedged

...instead I think he should write ;) a nice manual - clear, simply, easy and exemplifying - to create applications in 3D graphic.
by vuott
Saturday 29th May 2021 12:07am
Forum: General
Topic: libmpv
Replies: 24
Views: 3184

Re: libmpv

Yes, GStreamer "Plugin", that can be used with "MediaPipeline" and "MediaConttrol" Classes of "gb.media" Component. Exemplum minimum: Private pl As MediaPipeline Public Sub Button1_Click() Dim bin As MediaControl Dim filevideo As String filevideo = Uri("/path/of/file/video") pl = New MediaPipeline ...
by vuott
Thursday 27th May 2021 8:09pm
Forum: General
Topic: libmpv
Replies: 24
Views: 3184

Re: libmpv

I don't know if gstreamer can use installed codecs or whether it needs them to be in the form of a plugin, as it appears to have a 'plugin based architecture'. Yes, GStreamer "Plugin", that can be used with "MediaPipeline" and "MediaConttrol" Classes of "gb.media" Component. i wrote my own mpv comp...