Dear member.
How to read the "Target" parameter string of a shortcut.lnk of Windows ?
Thanks.
Search found 58 matches
- Thu Dec 04, 2025 3:45 am
- Forum: Coding Questions
- Topic: Read the "Target" string parameter of a shortcut.lnk Windows ?
- Replies: 1
- Views: 157
- Sun Oct 26, 2025 1:55 pm
- Forum: Feature Requests and Wishlists
- Topic: Rename Variables and Procedures in bulk
- Replies: 1
- Views: 814
Rename Variables and Procedures in bulk
Please add support "Rename variables and Procedure in bulk" to PB SourceCode Editor.
By right-clicking on the Procedure, Variable; then type the new name and enter, boom!
All renamed in a snap; even XIncludeFile modules file.
We are happy, we don't have to do any editing anymore.
By right-clicking on the Procedure, Variable; then type the new name and enter, boom!
All renamed in a snap; even XIncludeFile modules file.
We are happy, we don't have to do any editing anymore.
- Thu Oct 23, 2025 6:42 am
- Forum: Feature Requests and Wishlists
- Topic: Add RegAdd(), RegUpdate(), RegDelete() functions
- Replies: 6
- Views: 1081
Add RegAdd(), RegUpdate(), RegDelete() functions
I am working (add/delete/edit) on HKLM\XXX and HKLM\Wow6432Node\XXX branches. I have to use "registrymodule.pbi". The code is verbose and not performance-friendly.
Admin, please add RegAdd(), RegUpdate(), RegDelete() functions, support HKLM\XXX and HKLM\WOW6432Node\XXX branches without using ...
Admin, please add RegAdd(), RegUpdate(), RegDelete() functions, support HKLM\XXX and HKLM\WOW6432Node\XXX branches without using ...
- Tue Oct 21, 2025 1:03 pm
- Forum: Coding Questions
- Topic: How to set window close event to match each window?
- Replies: 3
- Views: 507
How to set window close event to match each window?
I have 3 windows: exit, welcome and main.
Nothing happened until I tried put the #PB_Event_CloseWindow event for each Windows. It didn't work as expected.
How to set window close event to match each window?
That means I want to separate the #PB_Event_CloseWindow event into each window's own ...
Nothing happened until I tried put the #PB_Event_CloseWindow event for each Windows. It didn't work as expected.
How to set window close event to match each window?
That means I want to separate the #PB_Event_CloseWindow event into each window's own ...
- Sat Oct 18, 2025 9:00 am
- Forum: Coding Questions
- Topic: Set icon for each window?
- Replies: 10
- Views: 849
Re: Set icon for each window?
Thanks RASHAD sir!
Edited: Add the icon to the resource file generated by PackEx (Thorsten1867), the code "PostMessage_" work too.
ResourceEx::Open(#ResEx, #RES_NAME)
ResourceEx::UseImage(#ResEx, #ICO_1, "my_ico_64x64.ico")
PostMessage_(WindowID(2),#WM_SETICON,1,ImageID(#ICO_1))
https://www ...
Edited: Add the icon to the resource file generated by PackEx (Thorsten1867), the code "PostMessage_" work too.
ResourceEx::Open(#ResEx, #RES_NAME)
ResourceEx::UseImage(#ResEx, #ICO_1, "my_ico_64x64.ico")
PostMessage_(WindowID(2),#WM_SETICON,1,ImageID(#ICO_1))
https://www ...
- Fri Oct 17, 2025 2:27 am
- Forum: Coding Questions
- Topic: Set icon for each window?
- Replies: 10
- Views: 849
Re: Set icon for each window?
It's not work. Thank RASHAD sir !
- Fri Oct 17, 2025 12:19 am
- Forum: Coding Questions
- Topic: Set icon for each window?
- Replies: 10
- Views: 849
Set icon for each window?
I have a program with 2 windows:
+ main1 -> icon1
+ main2 -> icon2
And 2 child windows of main window 2.
+child2_1 -> icon3
+child2_2 -> icon4
How to set window icons for these 4 windows (this icon will be displayed under the Windows Taskbar) ?
+ main1 -> icon1
+ main2 -> icon2
And 2 child windows of main window 2.
+child2_1 -> icon3
+child2_2 -> icon4
How to set window icons for these 4 windows (this icon will be displayed under the Windows Taskbar) ?
- Sun Oct 12, 2025 9:46 am
- Forum: Coding Questions
- Topic: Randomly select a declared Constant (string/number type) ?
- Replies: 2
- Views: 347
Randomly select a declared Constant (string/number type) ?
I have declared the constant:
#Book_on_shelf1 = "Hello world - Basic program"
#Book_on_shelf2 = "How to learn PureBasic ?"
#Book_on_shelf3 = "PureBasic on Internet !!!"
#Bookshelf_location1 = 1
#Bookshelf_location2 = 2
#Bookshelf_location3 = 3
How can I randomly select a declared Constant ...
#Book_on_shelf1 = "Hello world - Basic program"
#Book_on_shelf2 = "How to learn PureBasic ?"
#Book_on_shelf3 = "PureBasic on Internet !!!"
#Bookshelf_location1 = 1
#Bookshelf_location2 = 2
#Bookshelf_location3 = 3
How can I randomly select a declared Constant ...
- Sat Oct 11, 2025 5:42 am
- Forum: Windows
- Topic: Open the “Open with ” Dialog ...
- Replies: 3
- Views: 3582
Re: Open the “Open with ” Dialog ...
Axolotl ! Nice sharing.
- Sat Oct 11, 2025 5:41 am
- Forum: Coding Questions
- Topic: Update values for JSON file why were the other members lost ?
- Replies: 2
- Views: 568
Re: Update values for JSON file why were the other members lost ?
Thạnk you. It's work. I fixed my json.
- Sun Oct 05, 2025 10:27 am
- Forum: Coding Questions
- Topic: Update values for JSON file why were the other members lost ?
- Replies: 2
- Views: 568
Update values for JSON file why were the other members lost ?
I have successfully added the "FastMode" member and set its value to "OK" for the settings.json file which does not exist yet.
But when the settings.json file already exists, I am in the situation:
+ if the "FastMode" member does not exist yet.
+ if the value of the "FastMode" member already ...
But when the settings.json file already exists, I am in the situation:
+ if the "FastMode" member does not exist yet.
+ if the value of the "FastMode" member already ...
- Tue Apr 29, 2025 10:31 am
- Forum: Coding Questions
- Topic: Why mouse pointer occupied ?
- Replies: 1
- Views: 710
Why mouse pointer occupied ?
I have 2 windows, window A as main window, window B as 2nd window.
Why after every 4 seconds the cursor on the main window disappears (like it was occupied) ?.
Where do I fix the error?.
Procedure THREAD_RELOAD_DATA_MAIN_WIN(okok)
Repeat
PostEvent(#EVENT_RELOAD_DATA_MAIN_WIN, #MAIN_WIN, #PB ...
Why after every 4 seconds the cursor on the main window disappears (like it was occupied) ?.
Where do I fix the error?.
Procedure THREAD_RELOAD_DATA_MAIN_WIN(okok)
Repeat
PostEvent(#EVENT_RELOAD_DATA_MAIN_WIN, #MAIN_WIN, #PB ...
- Sun Apr 13, 2025 5:39 am
- Forum: Coding Questions
- Topic: Create vertical panel tabs in Purebasic ?
- Replies: 4
- Views: 468
Create vertical panel tabs in Purebasic ?
By default Panel/Tabs are in horizontal position, is there any option to make it vertical?
Thanks you for help.
Thanks you for help.
- Fri Nov 08, 2024 3:02 pm
- Forum: Coding Questions
- Topic: How to determine that the current OS is WinPE?
- Replies: 3
- Views: 736
Re: How to determine that the current OS is WinPE?
WinPE often has wmic omitted. just check the existence of this file.
- Fri Nov 08, 2024 2:46 pm
- Forum: Coding Questions
- Topic: How to stretch any image to fit background Window ?
- Replies: 1
- Views: 407
How to stretch any image to fit background Window ?
How to stretch any image to fit the background window? And change this background image accordingly 3 OptionGadget is clicked.
Thank fỏ help.
Thank fỏ help.