Search found 359 matches

by AndyGable
Wednesday 14th December 2022 10:21pm
Forum: General
Topic: [Solved] Screen not updating
Replies: 5
Views: 1509

Re: Screen not updating

Thanks @BruceSteers that worked perfectly
by AndyGable
Wednesday 14th December 2022 8:38pm
Forum: General
Topic: Resource temporarily unavailable
Replies: 0
Views: 11147

Resource temporarily unavailable

Hi Everyone I hope someone can help I am trying to print a End of day report to my Point of sale Printer but I keep getting "Resource temporarily unavailable" while it is printing This is what I am using to print to the printer Private Sub PrintOnPrinter(DataToPrint As String) Dim LineData...
by AndyGable
Saturday 10th December 2022 10:27am
Forum: General
Topic: [Solved] Screen not updating
Replies: 5
Views: 1509

Re: Screen not updating

@BruceSteers

Thanks for that I'll try it when I get to the computer

Also would it be better to keep the timer or would wait 3 wait 3 seconds and then start the process?
by AndyGable
Friday 9th December 2022 11:37am
Forum: General
Topic: [Solved] Screen not updating
Replies: 5
Views: 1509

[Solved] Screen not updating

Hi all, I am sending messages to my user via a label called SysMessage but I am only getting the first one to show when the form loads I get on screen labSystemMessage.Caption = "Starting End of Day" & gb.crlf & "Please wait..." labSystemMessage.Refresh and this is correc...
by AndyGable
Tuesday 29th November 2022 3:27pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

Re: [Sloved] Convert image back from base64 encoding

Once you explain that what I was getting from the database was string data correctly formatted I just changed it to be

ImageFile.Image = Image.fromstring(frombase64(image string))
by AndyGable
Tuesday 29th November 2022 1:23pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

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 AndyGable
Tuesday 29th November 2022 8:54am
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

Re: Convert image back from bade64 encoding

I think I have a issue with the recall of the String fromt he database When I recall the string I get "/9j/4AAQSkZJRgABAQEAYABgAAD/4QBaRXhpZgAATU0AKgAAAAgABQMBAAUAAAABAAAASgMDAAEAAAABAAAAAFEQAAEAAAABAQAAAFERAAQAAAABAAAOw1ESAAQAAAABAAAOwwAAAAAAAYagAACxj//bAEMACAYGBwYFCAcHBwkJCAoMFA0MCwsMGRITDxQd...
by AndyGable
Monday 28th November 2022 8:08pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

Re: Convert image back from bade64 encoding

0x2f396a2f34414151536b5a4a5267414241514541594142674141442f34514261525868705a674141545530414b6741414141674142514d4241415541414141424141414153674d44414145414141414241414141414645514141454141414142415141414146455241415141414141424141414f7731455341415141414141424141414f777741414141414141596167414143786...
by AndyGable
Monday 28th November 2022 3:30pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

Re: Convert image back from bade64 encoding

I tried

FrmPLUList.picturebox1.image.fromstring(frombase64(PLUDataResult!button_image))

Im getting a error message on the line saying Null object in PLUFunctions

I can list the base64 code if you want
by AndyGable
Monday 28th November 2022 1:35pm
Forum: General
Topic: [Sloved] Convert image back from base64 encoding
Replies: 10
Views: 1330

[Sloved] Convert image back from base64 encoding

Hi all, Just wondered if this is possible I have some images that are stored in the database as a base64 encoding (so string) but this was encoded by a vb.net application Do I have to convert the image back into a file before loading it to the picture box or can I load the image to the picture box d...