Search found 427 matches

by Axolotl
Sun Apr 21, 2024 4:16 pm
Forum: Coding Questions
Topic: How to show tabulators in ListIconGadgets?
Replies: 1
Views: 179

Re: How to show tabulators in ListIconGadgets?

I only know the LB_SETTABSTOPS and EM_SETTABSTOPS messages.

First message sets the tab-stop positions in a list box.
Second message sets the tab stops in a multiline edit control.

So, IMHO you have to do this as you did it or with LVS_OWNERDRAWFIXED on List-View Controls.
by Axolotl
Fri Apr 19, 2024 1:31 pm
Forum: Coding Questions
Topic: Check if UseSQLiteDatabase is called
Replies: 10
Views: 288

Re: Check if UseSQLiteDatabase is called

just my 2 cents, probably not what you are looking for...... Explanation: I use the compiler permission that you can define constants as often as you want, as long as they are assigned the same value. ; need a different name to avoid recursive calls ; Macro UseSQLiteDatabaseEx() UseSQLiteDatabase() ...
by Axolotl
Thu Apr 18, 2024 11:17 pm
Forum: Feature Requests and Wishlists
Topic: PureBasic Librarian
Replies: 27
Views: 2750

Re: PureBasic Librarian

Say what? Yes, it does. I have dozens of read-only files included in my source. Have used them for years. We have a differnt understanding about support. I dont known the command for changing the attribute read only in the ide. Sure you can open and compile a read only file. That is what I do as we...
by Axolotl
Thu Apr 18, 2024 2:59 pm
Forum: Feature Requests and Wishlists
Topic: PureBasic Librarian
Replies: 27
Views: 2750

Re: PureBasic Librarian

A few thoughts from me to the initial question. 1. Although I only program for myself, I would be very reluctant to install 3-party closed source software. So far I have always resigned myself to having a worse or no solution. And yes, I know PB itself is closed source in large parts. 2. I use a &qu...
by Axolotl
Tue Apr 16, 2024 3:35 pm
Forum: Windows
Topic: wake from sleep?
Replies: 6
Views: 330

Re: wake from sleep?

jassing wrote: Mon Apr 15, 2024 4:41 pm I should have been more specific.
I need the application itself (or a windows scheduled task) to wake the computer (not from another machine based on NIC)
thanks
Okay, than you can try the console app POWERCFG.EXE
by Axolotl
Mon Apr 15, 2024 3:22 pm
Forum: Windows
Topic: Cancel shutdown/reboot?
Replies: 4
Views: 256

Re: Cancel shutdown/reboot?

As far as I understand the entire process, you have to keep in mind that: a) The AbortSystemShutdown function stops a system shutdown started by using the InitiateSystemShutdown function. b) To stop the local computer from shutting down, the calling process must have the SE_SHUTDOWN_NAME privilege. ...
by Axolotl
Mon Apr 15, 2024 12:47 pm
Forum: Windows
Topic: wake from sleep?
Replies: 6
Views: 330

Re: wake from sleep?

sometimes a quick seach is your friend...
Have you tried this one:
Wake on lan WOL (Windows only)
by Axolotl
Sun Apr 14, 2024 4:02 pm
Forum: Coding Questions
Topic: Process owner over LAN - SOLVED
Replies: 8
Views: 2056

Re: Process owner over LAN - SOLVED

No value is assigned to userName in the shown code. From my understanding the value is Zero.
by Axolotl
Sat Apr 13, 2024 11:24 am
Forum: Coding Questions
Topic: #PB_Editor_ClickSelect /#PB_ListView_ClickSelect ?
Replies: 4
Views: 395

Re: #PB_Editor_ClickSelect /#PB_ListView_ClickSelect ?

you don't have to go in the details of my example code. Look at the main loop and the debug output shows you the current line number. I am not sure, that your code is working, because GetGadgetState() is not working with the EditorGadget(). Mmmh, but maybe i didn't understand your requirement. To ge...
by Axolotl
Fri Apr 12, 2024 12:21 pm
Forum: Coding Questions
Topic: #PB_Editor_ClickSelect /#PB_ListView_ClickSelect ?
Replies: 4
Views: 395

Re: #PB_Editor_ClickSelect /#PB_ListView_ClickSelect ?

if you ara on windows, may be this can be a start for you: Please keep in mind, that this is a quick hack, not tested or used very much. EnableExplicit #WINDOW_Main = 1 #GADGET_edtText1 = 10 ; I tried different numbers !! #GADGET_edtText2 = 20 ; I tried different numbers !! #STATUSBAR = 1 #Caption$ ...
by Axolotl
Mon Apr 08, 2024 3:32 pm
Forum: Coding Questions
Topic: Windows 10 - PB10 - Linker error
Replies: 10
Views: 573

Re: Windows 10 - PB10 - Linker error

If it is really an option to change the path for the output, I would like to recall my request from earlier.
adjustable "compile to folder" path
by Axolotl
Sun Apr 07, 2024 2:43 pm
Forum: Applications - Feedback and Discussion
Topic: sho.co interpreter
Replies: 3
Views: 538

Re: sho.co interpreter

Here is a little program of mine that I wrote for my entertainment... // ..... Here is the github link to the source code. https://github.com/MR-L-PB/sho.co HI Mr.L Thanks for sharing. I am always curious when it comes to scintilla and here I just wanted to let you know that the link is not working.
by Axolotl
Sat Apr 06, 2024 10:40 pm
Forum: Windows
Topic: how to get SetEnvironmentVariable in batch script
Replies: 4
Views: 189

Re: how to get SetEnvironmentVariable in batch script

Imho the explanation is correct and there are to possible ways. 1. Make the variable permanent by registry or a tool called setx 2. Create a batch file with @set varname=value and call this batch in your batch file Maybe this will get you started. (I know, this is no PB code) The registry keys you s...
by Axolotl
Thu Apr 04, 2024 3:43 pm
Forum: Coding Questions
Topic: WINDOWS issue : How do you include icons into the exe ?
Replies: 12
Views: 601

Re: WINDOWS issue : How do you include icons into the exe ?

yes, what can i write.... I hadn't started the topic or wrote resources with two s's. :oops:
that's why I - personally - always try different spellings
I'm certainly pleased if I was able to help.
EDIT: written before your correction and apology not needed.
by Axolotl
Thu Apr 04, 2024 1:56 pm
Forum: Coding Questions
Topic: WINDOWS issue : How do you include icons into the exe ?
Replies: 12
Views: 601

Re: WINDOWS issue : How do you include icons into the exe ?

On the topic of resource files...
Perhaps this will help you get started.
Help with ressources files (.RC)
Ressources Files