Search found 262 matches

by vuott
Thursday 6th April 2023 1:23pm
Forum: Beginners
Topic: How detect Mouse wheel direction?
Replies: 2
Views: 688

Re: How detect Mouse wheel direction?

I point out this page of the wiki of Gambas Italian programmers forum:

https://www.gambas-it.org/wiki/index.ph ... _rotellina
by vuott
Wednesday 5th April 2023 10:24am
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1821

Re: How to play a video file in Gambas? [SOLVED]

Well, this code lets you hear the audio as well: Private Enum none = 0, clockwise, rotate_180, counterclockwise, horizontal_flip, vertical_flip, upper_left_diagonal, upper_right_diagonal, automatic Public Sub Button1_Click() Dim pl As MediaPipeline Dim vsrc, vbin, vcon, vflp, vsnk, asrc, abin, acon,...
by vuott
Tuesday 4th April 2023 5:01pm
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1821

Re: How to play a video file in Gambas? [SOLVED]

Well, I got video rotation with gb.media resources, but :? no audio output . This is my test code by using "MediaPipeline" and "MediaControl" Classes of gb.media: Private Enum none = 0, clockwise, rotate_180, counterclockwise, horizontal_flip, vertical_flip, upper_left_diagonal, ...
by vuott
Tuesday 4th April 2023 7:25am
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1821

Re: How to play a video file in Gambas?

Is there a way to play the video rotated 90 degrees? At the moment the only way that works for me, to rotate a video, is to use the external resources of the GStreamer library with "Extern". Check out this page, that I wrote, of the Gambas italian programmers Forum Wiki: https://www.gamba...
by vuott
Monday 3rd April 2023 1:09pm
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1821

Re: How to play a video file in Gambas?

You have to change this line:
JumpyVB wrote: Monday 3rd April 2023 12:30pm
  myPlayer.URL = "/home/user/Videos/home_video_from_android_phone.mp4"
with:
  myPlayer.URL = Media.URL("/home/user/Videos/home_video_from_android_phone.mp4")
by vuott
Tuesday 29th November 2022 2:24pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1554

Re: Convert image back from base64 encoding

AndyGable wrote: Tuesday 29th November 2022 1:23pm ... updating the way the function loads the image worked perfectly ....
Ehmmm... practically... what did you do?
by vuott
Tuesday 29th November 2022 11:53am
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1554

Re: Convert image back from bade64 encoding

I think I have a issue with the recall of the String from the database When I recall the string I get "/9j/4AAQSkZJRgABAQEAYABgAAD......etc...." it is not the same as what I have in the database 0x2f396a2f344......etc..... Yet, the string, attached by you, that you receive from the databa...
by vuott
Monday 28th November 2022 11:36pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1554

Re: Convert image back from bade64 encoding

Well, we have 2 problems. 1 ) About the "Null object" error it is caused by the command line, which :? I suggested you. It should be changed as follows: PictureBox1.Image = Image.FromString(FromBase64("Base64_string")) 2 ) The string of values, you pasted here, is represented by ...
by vuott
Monday 28th November 2022 4:15pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1554

Re: Convert image back from bade64 encoding

Yes, attach the base64 string file or paste this string, for testing.