Hello,
I plan to learn how to include the PNG files in the program (if that's possible), so they are not separately in the folder.
As mentioned previously, there are include methodx.
Also, another method exists (than can be use when posting on the forum too :wink: ) :
First source on english ...
Search found 472 matches
- Tue Nov 18, 2025 2:55 pm
- Forum: General Discussion
- Topic: My (Simple) Bookmark Manager
- Replies: 12
- Views: 1160
- Fri Nov 14, 2025 10:23 am
- Forum: General Discussion
- Topic: Discogs (API use)
- Replies: 5
- Views: 1618
Re: Discogs (API use)
... and I do not understand.
Salut Ollivier,
Sorry for seeing your post so late.
Since several months, I'm currently working on a professional project that's taking up a lot of my time and leaving me with almost no time for programming, except for diving back into the intricacies of VBA Excel ...
- Tue Jun 10, 2025 9:11 pm
- Forum: Coding Questions
- Topic: [SOLVED] ReadString() and reading length
- Replies: 3
- Views: 576
Re: ReadString() and reading length
SMaag wrote: You set length as #PB_File_IgnoreEOL = 65536
That's your problem
Thanks
Thanks for the explicative link, RashadRASHAD wrote:
- Tue Jun 10, 2025 8:05 pm
- Forum: Coding Questions
- Topic: [SOLVED] ReadString() and reading length
- Replies: 3
- Views: 576
[SOLVED] ReadString() and reading length
Hi,
In the docs, there is no indication about the maximun length that ReadString() can return.
I searched in the PB forums (Keywords : ReadString Length) and didn't find any concluant post.
I use ReadString(FileNb,#PB_File_IgnoreEOL,#PB_File_IgnoreEOL) to retrieve the whole content of text files ...
In the docs, there is no indication about the maximun length that ReadString() can return.
I searched in the PB forums (Keywords : ReadString Length) and didn't find any concluant post.
I use ReadString(FileNb,#PB_File_IgnoreEOL,#PB_File_IgnoreEOL) to retrieve the whole content of text files ...
- Wed Jun 04, 2025 11:05 pm
- Forum: Coding Questions
- Topic: LoadFont inside StartDrawing-block
- Replies: 3
- Views: 569
Re: LoadFont inside StartDrawing-block
Any code?
I haven't tested it, and maybe it's a bug, but I wonder: What is the absolute necessity of including LoadFont inside a StartDrawing()/StopDrawing() block?
I've never had a problem loading a font before using such a block...
I haven't tested it, and maybe it's a bug, but I wonder: What is the absolute necessity of including LoadFont inside a StartDrawing()/StopDrawing() block?
I've never had a problem loading a font before using such a block...
- Wed May 28, 2025 7:26 pm
- Forum: Coding Questions
- Topic: [SOLVED] Thread with multiple processing loops
- Replies: 6
- Views: 681
Re: [SOLVED] Thread with multiple processing loops
Hello jacdelad
there's a mk-spft-code floating around in the Tips & Tricks sub forum, which addresses this especially for threads. Worth a look.
Probably the one I was referring to when I mentioned example #5 :wink: ( :oops: ouupss, I seem to have forgotten to mention it in this post: it's here ...
there's a mk-spft-code floating around in the Tips & Tricks sub forum, which addresses this especially for threads. Worth a look.
Probably the one I was referring to when I mentioned example #5 :wink: ( :oops: ouupss, I seem to have forgotten to mention it in this post: it's here ...
- Mon May 26, 2025 9:54 pm
- Forum: Coding Questions
- Topic: [SOLVED] Thread with multiple processing loops
- Replies: 6
- Views: 681
Re: Thread with multiple processing loops
With Windows it works in most cases. But as soon as you switch to Linux or macOS, it crashes.
Thanks a lot for all these explanations.
However, I must admit that I don't always understand why some actions on gadgets, depending on where they are placed in the threaded procedure, work or don't ...
- Sun May 25, 2025 10:41 pm
- Forum: Coding Questions
- Topic: Open Console in Full Screen
- Replies: 3
- Views: 386
- Sun May 25, 2025 10:20 pm
- Forum: Coding Questions
- Topic: [SOLVED] Thread with multiple processing loops
- Replies: 6
- Views: 681
Re: Thread with multiple processing loops
Since this is performed in a sequence in a sequence, a single thread is sufficient
Thanks for your reply :wink:
Another (noob's) question: I understand that you have to use a memory address (to a string or a structure) when you want to pass non-numeric parameters through a PostEvent.
I see in ...
- Sun May 25, 2025 5:10 pm
- Forum: Coding Questions
- Topic: [SOLVED] Thread with multiple processing loops
- Replies: 6
- Views: 681
[SOLVED] Thread with multiple processing loops
Hello,
Note: The use and programming of threads is still a bit of a mystery to me. I'm gradually trying to understand and learn how to use them :) .
I have a question about the best way to proceed in the following case:
A first loop retrieves data by sending an indeterminate number of HTTP ...
Note: The use and programming of threads is still a bit of a mystery to me. I'm gradually trying to understand and learn how to use them :) .
I have a question about the best way to proceed in the following case:
A first loop retrieves data by sending an indeterminate number of HTTP ...
- Sun May 25, 2025 10:45 am
- Forum: Tricks 'n' Tips
- Topic: Mini Thread Control
- Replies: 16
- Views: 10014
Re: Mini Thread Control
Thanks a lot mk-soft for your (very fast) reply and your tips on threadsmk-soft wrote: Do it outside of thread
- Sun May 25, 2025 9:59 am
- Forum: Tricks 'n' Tips
- Topic: Mini Thread Control
- Replies: 16
- Views: 10014
Re: Mini Thread Control
- Example 5: MessageRequester from Thread
Hello,
I'm still not familiar with threads, semaphores and other mutexes :oops: .
Starting with example 5, when the Stop button is pressed, I would like to display a MessageRequester asking the user if he really wants to stop the current process.
My ...
- Wed May 21, 2025 12:10 pm
- Forum: Coding Questions
- Topic: Adding text and signature on down of PDF document [Resolved]
- Replies: 11
- Views: 1085
Re: Adding text and signature on down of PDF document
[...] It's for sign documents already created by entreprise (invoice, estimate, etc) [...]
Hi KCC,
If I remember correctly, you know how to code in VB.
Another solution, then, if you have Word, is to create a macro using the ActiveDocument.Shapes.AddPicture() method.
There was a time when ...
- Sat May 10, 2025 11:12 am
- Forum: Coding Questions
- Topic: is it duplicated library code in final exe ?
- Replies: 15
- Views: 1778
Re: is it duplicated library code in final exe ?
To the best of my knowledge, the UsePNGImageEncoder() and UsePNGImageDecoder() functions don't compress/decompress PNG images, but only allow this type of image to be written and read.
So, to compress/decompress them in size, you need to use too the appropriate functions provided by the Packer lib ...
So, to compress/decompress them in size, you need to use too the appropriate functions provided by the Packer lib ...
- Tue May 06, 2025 9:44 pm
- Forum: Coding Questions
- Topic: Filter ListView/ListIcon contents
- Replies: 9
- Views: 1246
Re: Filter ListView/ListIcon contents
Hello,
For filtering rows in a LIG, you can also see this post by nicolaus and the adaptation made by flype.
Note : Some constants are now native in PB and must be commented
For filtering rows in a LIG, you can also see this post by nicolaus and the adaptation made by flype.
Note : Some constants are now native in PB and must be commented