Search found 419 matches

by AndyGable
Mon Apr 21, 2025 10:43 am
Forum: General
Topic: [Solved] Advise Needed - Saving Image to Database
Replies: 8
Views: 939

Re: [Solved] Advise Needed - Saving Image to Database

thank you to everyone who advised me on this i now have working images on my EPoS Screen (i had put that off for months lol)

Once again thank you all for the support you have given me over the course of this EPoS project.
by AndyGable
Mon Apr 21, 2025 10:02 am
Forum: General
Topic: [Solved] Advise Needed - Saving Image to Database
Replies: 8
Views: 939

Re: Advise Needed - Saving Image to Database

I don't know how Mariadb stores blobs. However the disadvantage of storing pictures in databases, as previously mentioned is size. All it would take is one person to update this weeks special on bananas with a 7Gpixel photo and blam! Your database refreshes are going to take hours. I had a similar ...
by AndyGable
Mon Apr 21, 2025 9:58 am
Forum: General
Topic: [Solved] Advise Needed - Saving Image to Database
Replies: 8
Views: 939

Re: Advise Needed - Saving Image to Database

BruceSteers wrote: Mon Apr 21, 2025 9:34 am Close...

Dbfeild = Base64(Global.pc.tostring())
Thank you Bruce I assume Global.pc = Picture.FromString(frombase64(dbfeild)) is correct
by AndyGable
Mon Apr 21, 2025 8:34 am
Forum: General
Topic: [Solved] Advise Needed - Saving Image to Database
Replies: 8
Views: 939

Re: Advise Needed - Saving Image to Database

Base64() FromBase64() Thanks for that I had a feeling it was that one but I was not sure how to use them I assume to save to the database I would use Dbfeild = Global.pc.tostring(base64) And to convert back I would use Global.pc = Picture.FromString(frombase64(dbfeild)) Why save an image to a db? W...
by AndyGable
Sun Apr 20, 2025 7:45 pm
Forum: General
Topic: [Solved] Advise Needed - Saving Image to Database
Replies: 8
Views: 939

[Solved] Advise Needed - Saving Image to Database

Hi Everyone A while ago one of you was kind enough to show me the following code Global.pc = Picture.FromString(File.Load(FilePath)) Dim Pic As Picture = Global.pc Dim hIcon As Picture = Pic.Stretch(Obj.Height - Obj.Font.Height - 6) ' stretch the icon to button height lss font height less margin. Di...
by AndyGable
Sun Mar 23, 2025 10:30 am
Forum: General
Topic: GridView Row Merge
Replies: 2
Views: 1764

GridView Row Merge

Hi all you experts

I have a GridView that has the following columns

Barcode
Description
Price
DiscountOption

When I do a exchange I add 110 "-" and to make it show fully I need to merge the row into a single row

Is this possible? I'm using 3.19.5 at the moment

Andy
by AndyGable
Sun Mar 16, 2025 1:16 am
Forum: General
Topic: 3.20.1 has broken my Application
Replies: 27
Views: 92955

Re: 3.20.1 has broken my Application

I am so glad I left the nightmare called Windows and traded it in for Linux. So much more freedom, access to stuff and most important stability and speed. Enjoy... I am glad I made to call to move my EPoS system to Linux (still have a few bugs in the hardware support module to iron out but I will g...
by AndyGable
Fri Mar 14, 2025 9:20 pm
Forum: General
Topic: 3.20.1 has broken my Application
Replies: 27
Views: 92955

Re: 3.20.1 has broken my Application

In 3.19.5 it works fine But now in 3.20.2 it disables the menu form but will not show the frmQuestionBO (do I need to bring it to the front or something) and this seems to be ONLY when the code is run from the development environment I have no idea what is going on but there where some changes from...
by AndyGable
Thu Mar 13, 2025 11:09 am
Forum: General
Topic: 3.20.1 has broken my Application
Replies: 27
Views: 92955

Re: 3.20.1 has broken my Application

The fix is in the 3.20.2 release. 3.20.2 has been release a few day back, so knock yourself out and enjoy. Hi All, I have installed 3.20.2 on to my 32bit IBM ThinkPad and it works (all I had to do was remove any reference the QT6 as this was what making the sse support issue) I have also Installed ...
by AndyGable
Tue Feb 25, 2025 11:38 pm
Forum: General
Topic: 3.20.1 has broken my Application
Replies: 27
Views: 92955

Re: 3.20.1 has broken my Application

Does anyone know what Division by zero (#26). [gb.gui.base].Splitter.DoLayout.239 I've updated to 3.20.1 but not installed qt6 as that was what making my issues on a 32bit machine. I ran the command gambas3 in the terminal and I have the following show (org.gambas.7117:7117): GLib-GIO-CRITICAL **: 2...