Public Sub Form_Open()
Music.Load(Application.Path &/ "Sample.mp3")
Music.Play
End
Search found 1115 matches
- Sunday 22nd October 2023 10:18am
- Forum: General
- Topic: Music component - Editor Vs Compiled program.
- Replies: 3
- Views: 5468
Re: Music component - Editor Vs Compiled program.
I ran the following program in the Editor, and it works OK for me. Sorry, but it seems that it is "(yet another) me and my computer issue."
- Wednesday 18th October 2023 3:20pm
- Forum: General
- Topic: [SOLVED] Drag.Paste("text/uri-list") problem.
- Replies: 14
- Views: 6906
Re: Drag.Paste("text/uri-list") problem.
I have found a possible solution to this, it is a little convoluted, but it works for me. https://www.cogier.com/gambas/ListBoxDrop.png Public Sub Listbox1_Drop() Dim sHold As String Dim iStart, iEnd As Integer sHold = Drag.Paste() iStart = InStr(sHold, "///") + 2 iEnd = InStr(sHold, gb.Cr...
- Friday 13th October 2023 9:42am
- Forum: Beginners
- Topic: embeded pictures px area
- Replies: 3
- Views: 3354
Re: embeded pictures px area
I think the best way to do this is with Labels. Have a look at the attached code that I have started. Hopefully it will help you.
- Thursday 12th October 2023 9:51am
- Forum: The Gambas IDE
- Topic: Console outputting other running gambas programs
- Replies: 4
- Views: 5733
Re: Console outputting other running gambas programs
You could try using a Task for the file load. That way you would use 2 cpu processes instead of one.Do you have any suggestions for the audio playback breaking playback during a file load? Just fails to make sound for a 1/4 second.
- Monday 9th October 2023 10:05am
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4372
Re: Combining String data
At a guess, I'd say that one of you has a blank line at the end of the file and one doesn't. In other words a Cr or whatever on the last data line. If that is the case then I find the best way to to handle that is in the initial file load when the file string is split by line endings, just by ignor...
- Sunday 8th October 2023 4:47pm
- Forum: The Gambas IDE
- Topic: Band Font Size error when trying to use Gambas IDE with QT5
- Replies: 2
- Views: 3707
Re: Band Font Size error when trying to use Gambas IDE with QT5
I am using Linux Mint 21.2 with the Cinnamon desktop and I did not get the same error as you. There was a 'libpng' warning, but I have no idea what it means. At a quick glance, Gambas seemed to work OK.
- Saturday 7th October 2023 3:41pm
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4372
Re: Combining String data
Wow! You now have 3 options to pick from. A couple of points. vuott: - Your code works perfectly if line 22 ss.Remove(ss.Max, 1) is removed! thatBruce: - Your code will look better if you use the gb rather than the </> button. (I have edited your post above). https://www.cogier.com/gambas/gb_button....
- Friday 6th October 2023 10:30am
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4372
Re: Combining String data
You can do it with arrays. This is my solution, maybe someone can come up with a simpler version but this does work. ' Gambas class file 'Contents of file BCode.txt ' 5018374320766|1 ' 50201600|2 ' 99998|1 ' 99999|2 ' 5018374320766|2 ' 50201600|1 ' 5018374320766|5 ' 99999|2 ' 547892|9 ' 99999|2 ' 54...
- Thursday 5th October 2023 10:59am
- Forum: Project showcase
- Topic: Simple Temp monitor example using LCDLabel
- Replies: 5
- Views: 11050
Re: Simple Temp monitor example using LCDLabel
It works well, nice job. My computer runs a lot hotter than yours, showing at around 60.00°.
- Thursday 5th October 2023 10:47am
- Forum: Beginners
- Topic: Export an old Gambas app to a new system
- Replies: 4
- Views: 3129
Re: Export an old Gambas app to a new system
Like vuott I managed to get the program to run with minor changes on Linux Mint 21.2 with Gambas 3.18.4 https://www.cogier.com/gambas/Neco1.png There are a lot of unused functions and variables, this is only one page! https://www.cogier.com/gambas/Neco2.png I think the error you are getting is to do...