Search found 171 matches

by Quincunxian
Friday 1st December 2023 10:19pm
Forum: Project showcase
Topic: Eight-Queen Puzzle Simulator on GAMBAS
Replies: 1
Views: 5075

Re: Eight-Queen Puzzle Simulator on GAMBAS

For others (like me) who have never heard of the eight queen puzzle, here is a Wikipedia Link: Eight Queen Puzzle
by Quincunxian
Friday 3rd November 2023 2:16am
Forum: General
Topic: find a control
Replies: 11
Views: 11303

Re: find a control

Here is a recursive routine to 'reset' a form - normally some sort of maintenance form to add/modify records. It is called after the record is updated, resetting the input fields so new data can be entered. Aspects of the code may be useful if you want to do more than a simple search. It is designed...
by Quincunxian
Monday 30th October 2023 9:49pm
Forum: General
Topic: Advise for a standalone database
Replies: 4
Views: 9979

Re: Advise for a standalone database

Hi Andy. I use SQLite extensively for any project that needs data storage/retrieval. Unless your data set has millions of records, then it should be more than sufficient for the task. How are your SQL skills and do you have a rough design for your database structure? Regardless of size and the under...
by Quincunxian
Monday 23rd October 2023 12:33am
Forum: General
Topic: Music component - Editor Vs Compiled program.
Replies: 3
Views: 5155

Re: Music component - Editor Vs Compiled program.

Thanks for checking. I created a new project, copied in your code with a valid mp3 file and it has the same result - no sound. I checked the status of Music.Playing and it returns true, so this suggests that the component is not in an error state. I created an executable and the music played as expe...
by Quincunxian
Sunday 22nd October 2023 1:43am
Forum: General
Topic: Music component - Editor Vs Compiled program.
Replies: 3
Views: 5155

Music component - Editor Vs Compiled program.

I have a strange issue. I have a number of programs that use the gb.sdl2.audio - Music component. If I use it to play any applicable media in the Editor (on Run application) there is no error and the file does not play. If I compile to executable and then run that, every works as expected. I've trie...
by Quincunxian
Tuesday 17th October 2023 12:25am
Forum: General
Topic: Post a screenshot
Replies: 18
Views: 19070

Re: Post a screenshot

Parallaxis - Javigg's Fist Author [ Ian Rendell ]_001.png I'm in the process of developing a tool to write a novel. It has some basic document analysis such as checking for 'poor use' words, word frequency and use of cliche phrases. You can create story detailed characters with a reference image as...
by Quincunxian
Saturday 10th June 2023 10:59pm
Forum: General
Topic: File pattern
Replies: 10
Views: 3180

Re: File pattern

I use this setup in a 'toolbox' class that deals with files & folders. Public SelectedFilter As String[] Public FilterFile As String[] = ["*.*", "All Files"] Public FilterImage As String[] = ["*.png;*.jpg;*.jpeg;*.bmp;*.webp;", "Picture files"] Public Filt...
by Quincunxian
Thursday 13th April 2023 11:16pm
Forum: General
Topic: [Solved] SQL Help
Replies: 9
Views: 2147

Re: SQL Help

Hi Andy, That line is just getting the record count of the table. Normally, you would use SELECT COUNT(*) AS TotalRecords FROM TableName MySQL reference HERE This failed for me when I did some initial testing and I simply put in a count of the Primary Key as a substitute for the field to be counted....
by Quincunxian
Thursday 13th April 2023 12:06pm
Forum: General
Topic: [Solved] SQL Help
Replies: 9
Views: 2147

Re: SQL Help

Hi Andy, I've tested this with a local & remote MySQL database and it worked ok. I could compare two tables and highlight similar fields in the remote table that were in the local one. I added the ability to extract data from either table records in CSV, XML or JSON. ( Not sure about the formatt...
by Quincunxian
Thursday 13th April 2023 4:06am
Forum: General
Topic: [Solved] SQL Help
Replies: 9
Views: 2147

Re: SQL Help

Hi Andy - I dabble a little in DB stuff. From your code, my best guess is that you are trying to use the same connection for both databases and that won't work. You will need to instantiate two connection objects then make a comparison of both. I need to do this for a current project where I need to...