Thank you both for your help.
I got it solved with something Axolotl said.
I checked the Issues section before and found three items, but one didn't make sense.
So I went back and checked that one.
I changed the color on that item, and low and behold, it eliminated the issue.
I then deleted that ...
Search found 533 matches
- Thu Jan 11, 2024 10:35 pm
- Forum: Coding Questions
- Topic: How to change the IDE's Comments Background Color
- Replies: 3
- Views: 1157
- Wed Jan 10, 2024 11:54 pm
- Forum: Coding Questions
- Topic: How to change the IDE's Comments Background Color
- Replies: 3
- Views: 1157
How to change the IDE's Comments Background Color
I have been using PureBasic 6.04 LTS (Windows - x86) on Windows 10
For some reason the Background Color setting for Comments in the IDE must have disappeared ?
Because my code ;comments has recently changed to a dark gray background, which makes it a lot harder to read and is more distracting.
I don ...
For some reason the Background Color setting for Comments in the IDE must have disappeared ?
Because my code ;comments has recently changed to a dark gray background, which makes it a lot harder to read and is more distracting.
I don ...
- Mon Sep 19, 2022 9:52 am
- Forum: Coding Questions
- Topic: How to get selected Open With file & path sent to program
- Replies: 9
- Views: 1706
Re: How to get selected Open With file & path sent to program
First of all, I want to apologize. When I wrote that last part late yesterday, I guess I was half asleep after a long day.
I woke up at 3 am this morning, and suddenly realized what I had entered and wanted to correct that entry because it didn't
make sense. I copied code in there that wasn't ...
I woke up at 3 am this morning, and suddenly realized what I had entered and wanted to correct that entry because it didn't
make sense. I copied code in there that wasn't ...
- Mon Sep 19, 2022 1:44 am
- Forum: Coding Questions
- Topic: How to get selected Open With file & path sent to program
- Replies: 9
- Views: 1706
Re: How to get selected Open With file & path sent to program
I really appreciated all the good suggestions and help and interesting ways to approach this.
Because in my case, I just needed to get the first combined parameter of the file path and file name.
I just used the following:
; FirstParm$ = Running data that was passed to my running program
;eg: "D ...
Because in my case, I just needed to get the first combined parameter of the file path and file name.
I just used the following:
; FirstParm$ = Running data that was passed to my running program
;eg: "D ...
- Fri Sep 16, 2022 11:33 pm
- Forum: Coding Questions
- Topic: How to get selected Open With file & path sent to program
- Replies: 9
- Views: 1706
How to get selected Open With file & path sent to program
For Example:
When I use Windows Explorer to select an rtf file, it automatically opens that selected file in the default rtf running program.
When I use Windows Explorer to select an rtf file, and select Open With , it lets me select an alternate program to open that rtf file, and then opens it in ...
When I use Windows Explorer to select an rtf file, it automatically opens that selected file in the default rtf running program.
When I use Windows Explorer to select an rtf file, and select Open With , it lets me select an alternate program to open that rtf file, and then opens it in ...
- Thu Dec 17, 2020 9:14 pm
- Forum: Coding Questions
- Topic: Using PB to open a mouse selected file on Desktop
- Replies: 4
- Views: 1731
Using PB to open a mouse selected file on Desktop
Is it possible write a PB program that can be used to open a mouse selected file on the main 'Desktop?
For example:
When you click on an object in a 'PB window', you get a response reaction.
For instance if you click on a ButtonGadget, it activates to what ever you have it programmed to do.
On the ...
For example:
When you click on an object in a 'PB window', you get a response reaction.
For instance if you click on a ButtonGadget, it activates to what ever you have it programmed to do.
On the ...
- Thu Nov 05, 2020 9:32 pm
- Forum: Coding Questions
- Topic: Send start up parameters from one program to another Program
- Replies: 8
- Views: 2877
Re: Send start up parameters from one program to another Pro
Thanks for your reply Marc56us
But I thought that was mainly for use with console programs , unless I am looking at it wrong?
I will try using it later as I have to leave in a few minutes.
But I distinctly remember doing a different way some time ago from help from one of those old time experts
from ...
But I thought that was mainly for use with console programs , unless I am looking at it wrong?
I will try using it later as I have to leave in a few minutes.
But I distinctly remember doing a different way some time ago from help from one of those old time experts
from ...
- Thu Nov 05, 2020 9:12 pm
- Forum: Coding Questions
- Topic: Send start up parameters from one program to another Program
- Replies: 8
- Views: 2877
Re: Send start up parameters from one program to another Pro
Thanks for your reply Infratec
That's precisely the point. I wrote the second program, so I know what and where I need to use those parameters.
But I need help with the code needed in order to retrieve the parameters that were sent.
I forgot how to do it ?

That's precisely the point. I wrote the second program, so I know what and where I need to use those parameters.
But I need help with the code needed in order to retrieve the parameters that were sent.
I forgot how to do it ?


- Thu Nov 05, 2020 9:01 pm
- Forum: Coding Questions
- Topic: Send start up parameters from one program to another Program
- Replies: 8
- Views: 2877
Send start up parameters from one program to another Program
I have this probably simple problem that I would appreciate some help on.
I run this first program, and then use special keys to start up this second program (a ruler program ) which I use for measuring things on my first program.
What I wanted to do, is to get and send to the second program, the ...
I run this first program, and then use special keys to start up this second program (a ruler program ) which I use for measuring things on my first program.
What I wanted to do, is to get and send to the second program, the ...
- Thu Sep 10, 2020 1:17 am
- Forum: Coding Questions
- Topic: Help! #PB_String_NoCase with FindString stopped working
- Replies: 5
- Views: 1535
Re: Help! #PB_String_NoCase with FindString stopped working
Thank you BarryG and Andre for your help on this.
I guess I have to chuckle on this. I have used the StartPosition successfully in the past to eliminate searching beginning string
sections that don't need to be searched, but I guess I always thought that the default start position was the first ...
I guess I have to chuckle on this. I have used the StartPosition successfully in the past to eliminate searching beginning string
sections that don't need to be searched, but I guess I always thought that the default start position was the first ...
- Wed Sep 09, 2020 10:30 pm
- Forum: Coding Questions
- Topic: Help! #PB_String_NoCase with FindString stopped working
- Replies: 5
- Views: 1535
Re: Help! #PB_String_NoCase with FindString stopped working
Start position [, StartPosition [, Mode]]) is optional and is only useful if you want to do your search after a certain string position.
For example in the code: p1 and p2 use the same code except for the string to find
p1 displays 7 showing StartPosition is not needed.
In the case of p2. #PB_String ...
For example in the code: p1 and p2 use the same code except for the string to find
p1 displays 7 showing StartPosition is not needed.
In the case of p2. #PB_String ...
- Wed Sep 09, 2020 9:46 pm
- Forum: Coding Questions
- Topic: Help! #PB_String_NoCase with FindString stopped working
- Replies: 5
- Views: 1535
Help! #PB_String_NoCase with FindString stopped working
The following FindString #PB_String_NoCasecode always worked before, but it stopped working in this latest version?
I really need this fixed, as I use it a lot in some of my code. I now have to revert back to using LCase or UCase for each FindString ...
I really need this fixed, as I use it a lot in some of my code. I now have to revert back to using LCase or UCase for each FindString ...
- Sun Apr 05, 2020 6:49 pm
- Forum: Tricks 'n' Tips
- Topic: Create QRCode (2D-Barcode)
- Replies: 36
- Views: 33784
Re: Create QRCode (2D-Barcode)
Hi Marc56us
Your right. It's a 32 bit lib, so it won't compile under a 64bit program compiler.
Yet it works real well on my Windows 10 64bit Desktop, that I didn't even try to compile it because of that.
Thanks very much for that link though.
It looks very interesting, and I may look more into that ...
Your right. It's a 32 bit lib, so it won't compile under a 64bit program compiler.
Yet it works real well on my Windows 10 64bit Desktop, that I didn't even try to compile it because of that.
Thanks very much for that link though.
It looks very interesting, and I may look more into that ...
- Sun Apr 05, 2020 4:19 am
- Forum: Tricks 'n' Tips
- Topic: Create QRCode (2D-Barcode)
- Replies: 36
- Views: 33784
Re: Create QRCode (2D-Barcode)
Experimented and found the solution
Just remove qrcodelib.dll and qrcodelib.lib out of you compiler directory and place them in your
programs code directory. Then change the previous ImportC code to reflect that new location.
eg: My programs directory is : D:\MyPB_pgms\QrCode
ImportC "D:\MyPB ...
Just remove qrcodelib.dll and qrcodelib.lib out of you compiler directory and place them in your
programs code directory. Then change the previous ImportC code to reflect that new location.
eg: My programs directory is : D:\MyPB_pgms\QrCode
ImportC "D:\MyPB ...
- Sun Apr 05, 2020 3:48 am
- Forum: Tricks 'n' Tips
- Topic: Create QRCode (2D-Barcode)
- Replies: 36
- Views: 33784
Re: Create QRCode (2D-Barcode)
I am having the same issue as bhatkins2000, and get the same error message.
I am using PureBasic 5.72
and use the following code
ImportC "qrcodelib.lib"
QRcode_encodeString8bit(Text.p-ascii, Version.l, QRecLevel.l) As "_QRcode_encodeString8bit"
QRcode_free(*Qrcode.QRCode) As "_QRcode_free ...
I am using PureBasic 5.72
and use the following code
ImportC "qrcodelib.lib"
QRcode_encodeString8bit(Text.p-ascii, Version.l, QRecLevel.l) As "_QRcode_encodeString8bit"
QRcode_free(*Qrcode.QRCode) As "_QRcode_free ...