Search found 43 matches

by Godzilla
Monday 25th May 2020 10:20pm
Forum: General
Topic: help converting function from vb6 to gambas
Replies: 10
Views: 671

Re: help converting function from vb6 to gambas

Tiberius, welcome to Gambas. I also came from enjoying VB6 for years, and missing it terribly. Gambas is a godsend. I played around with your functions and i got them to work. I had to take some liberties to change things around a bit. For example, "Temp" is already a built-in function in Gambas. An...
by Godzilla
Tuesday 21st April 2020 11:07pm
Forum: General
Topic: How to use Spinner
Replies: 7
Views: 1465

Re: How to use Spinner

I tried you program and the spinner did keep spinning while it was running, but it stopped after I got about 100 errors in the console and the text area. testSpinner:26163): Gtk-CRITICAL **: 14:33:22.484: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed then it stop...
by Godzilla
Tuesday 21st April 2020 8:37am
Forum: General
Topic: How to use Spinner
Replies: 7
Views: 1465

Re: How to use Spinner

I don't use the spinner control in my applications. But this thread caught my attention due to the suggestion of using "Task" to remedy the OP's problem. I use "Task" extensively. For living room super-computing, its a godsend. Out of curiosity, I threw this code together to see if using a spinner c...
by Godzilla
Friday 27th March 2020 8:29am
Forum: General
Topic: Help for a beginner.
Replies: 8
Views: 1160

Re: Help for a beginner.

Ok, I'm using Linux Mint 18.3. The first line of the program entered is "Static Function TextHeight(Text as string) as Integer" which gives error "Unexpected Static in FMain.Class:4." I also got an error on a line "Draw.ForeColor = Color.Black" I changed this one to read "Draw.Foreground = Color.Bl...
by Godzilla
Friday 27th March 2020 6:47am
Forum: General
Topic: Help for a beginner.
Replies: 8
Views: 1160

Re: Help for a beginner.

This Youtube user has about 20 or 30 Gambas tutorial videos (scroll down a bit to find them). The videos cover all the basic functionality and controls, so they're probably exactly what you're looking for. They're fairly old, using Gambas 2. But the basic functionality should be the same. https://ww...
by Godzilla
Thursday 24th October 2019 11:27am
Forum: General
Topic: Object serialization, allowing save and load of class structure data
Replies: 9
Views: 1461

Re: Object serialization, allowing save and load of class structure data

@Godzilla, This is another area that I'm glad someone is tackling. I used to do this in C# but am still too new in Gambas and am still catching up yet. This is huge (as in 'important'); Keep up the good work! 8-) Steve Hey Steve, thank you for your reply and interest. Yes, S/D is really nothing new...
by Godzilla
Thursday 24th October 2019 10:34am
Forum: General
Topic: Object serialization, allowing save and load of class structure data
Replies: 9
Views: 1461

Re: Object serialization, allowing save and load of class structure data

Hi Godzilla, I must say I find this a quite interesting concept you've been working on. Could you post the application with all added corrections so I can have a closer look at it all. I might have some good use for it in one of my projects. And thanks for figuring it all out ;) Hey gbWilly, thank ...
by Godzilla
Wednesday 23rd October 2019 9:39am
Forum: General
Topic: Object serialization, allowing save and load of class structure data
Replies: 9
Views: 1461

Re: Object serialization, allowing save and load of class structure data

Hey all, I wanted to pass along some important info regarding object serialization/deserialization (S/D), for anyone who may be using it. I don't know if its a bug, per se, but its something that resulted in seemingly random corruption of the binary files, in which serialized objects were being writ...
by Godzilla
Sunday 20th October 2019 1:11am
Forum: General
Topic: Task/Multi-thread processing, queue many tasks while detecting/using your available cores
Replies: 2
Views: 623

Re: Task/Multi-thread processing, queue many tasks while detecting/using your available cores

Thank You, Godzilla, for continuing to shine a light on this area. 8-) As Gambas users figure out ' when ' to use multi-processing, hopefully much of the ' how ' will be demonstrated by folks like you. Hey sjsepan, thanks for your reply and for your interest in this. I had a lot of fun working on t...
by Godzilla
Saturday 19th October 2019 9:12am
Forum: General
Topic: Task/Multi-thread processing, queue many tasks while detecting/using your available cores
Replies: 2
Views: 623

Task/Multi-thread processing, queue many tasks while detecting/using your available cores

For anyone interested, I've been continuing my research into using multi-processing using all available cores, Previously, I came up with a way of communicating post-processed data from detached Task processes back to the parent Gambas program, making multi-processing into something usable. But I wa...