Search found 29 matches

by Ventural
Wed Apr 16, 2025 4:51 am
Forum: Feature Requests and Wishlists
Topic: Requested API Structure and constants
Replies: 77
Views: 155159

Re: Requested API Structure and constants

SYSTEM_POWER_STATUS has been updated.
https://learn.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-system_power_status

Structure SYSTEM_POWER_STATUS
ACLineStatus.b
BatteryFlag.b
BatteryLifePercent.b
SystemStatusFlag.b ; <- Showing as "Reserved1.b" in Structure Viewer ...
by Ventural
Mon Mar 10, 2025 5:34 am
Forum: Feature Requests and Wishlists
Topic: Please extend GetWindowState()
Replies: 6
Views: 1379

Re: Please extend GetWindowState()

Retrieves visibility state of window.

Procedure.b IsHideWindow(WindowNum.q)
If IsWindowVisible_(WindowID(WindowNum))
ProcedureReturn #False ; 0 = Window is visible
Else
ProcedureReturn #True ; 1 = Window is hidden
EndIf
EndProcedure

If OpenWindow(0, 200, 200, 220, 100, "HideWindow()", #PB ...
by Ventural
Mon Mar 10, 2025 4:12 am
Forum: Feature Requests and Wishlists
Topic: GetStatusBarText
Replies: 14
Views: 1292

Re: GetStatusBarText

Retrieves text from Statusbar fields.


Procedure.s GetStatusbarText(StatusBarNum.q, FieldNum.l)
Define buffer.s = Space(256)
Define result.l = SendMessage_(StatusBarID(StatusBarNum), #SB_GETTEXT, FieldNum, @buffer)
Define length.l = result & $FFFF
ProcedureReturn Left(buffer, length)
;To ...
by Ventural
Fri May 13, 2022 3:24 am
Forum: Feature Requests and Wishlists
Topic: OSVersion() for Windows Server
Replies: 3
Views: 1019

OSVersion() for Windows Server

If possible, please update OSVersion() to include:

Windows Server 2016
Windows Server 2019
Windows Server 2022

Thank you.
by Ventural
Tue Sep 03, 2019 5:36 pm
Forum: General Discussion
Topic: Need help in adding German translation
Replies: 8
Views: 3790

Re: Need help in adding German translation

Just a question:
How does "unplugged, charging" work? Inductive. I mean, we can translate it, but does it even make sense in english?
haha, that combination shouldn't ever happen, but who knows, maybe we will have self recharging batteries in the future :)
by Ventural
Tue Sep 03, 2019 5:08 pm
Forum: General Discussion
Topic: Need help in adding German translation
Replies: 8
Views: 3790

Re: Need help in adding German translation

Moved all screenshots and added some new ones at https://sites.google.com/view/venturalcom/223

The word "closed" is only used in the log file. Log file example:
02185931 VenMon v2.23 251.4787 closed. Uptime: 8d 18h 45m

For Battery Status, these are all the combinations:
100% Fully charged
0-99 ...
by Ventural
Tue Sep 03, 2019 2:41 am
Forum: General Discussion
Topic: Need help in adding German translation
Replies: 8
Views: 3790

Need help in adding German translation

Hello,

I need help translating from English to German. Many of the translations below was done by myself or by Bing/Google Translate. Some words may still need to be translated and others needs to be shorten, changed, or abbreviated to fit into the text fields. See screenshots to view the ones that ...
by Ventural
Sun Jan 13, 2019 4:33 am
Forum: Coding Questions
Topic: PdhAddCounter_() - get rid of language of system?
Replies: 11
Views: 3249

Re: PdhAddCounter_() - get rid of language of system?

Code: Select all

If PdhLookupPerfNameByIndex(#Null$, 238, *LPTSTR, @Size) = 0
In Purebasic 5.62 this line worked, result = 0
In Purebasic 5.70 this line failed, result = 3221228477

What changes do we need to make for this to work in 5.70?
by Ventural
Wed Jul 25, 2018 6:37 am
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

This works, and matches both Task Manager and "systeminfo". :D But in what way is it unreliable? I'm hesitant to use it in that case. :( It's rare, but I've seen where a user's Performance Counters data has been corrupted in the registry or disabled. Sometimes its an easy fix by pointing them to ...
by Ventural
Wed Jul 25, 2018 3:50 am
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

Threw this together real quick. Getting up time from Performance Monitor. This may not be reliable on all computers.
Prototype PdhLookupPerfNameByIndex(szMachineName.s, dwNameIndex.l, *szNameBuffer, *pcchNameBufferSize)
Global PdhLookupPerfNameByIndex.PdhLookupPerfNameByIndex, MemSize.l

UP_Days.q ...
by Ventural
Wed Jul 25, 2018 3:07 am
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

Hmm... I never seen it off by that much. Interesting. If you type in Command Prompt:

Code: Select all

systeminfo | find "Boot Time" 
Does it show boot up from 4 or 11 days ago?
by Ventural
Wed Jul 25, 2018 2:12 am
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

The results of up time vary between PC to PC. The up time is suppose to match the one shown in the Windows Task Manager. Here's the computers I tested on just now:

Mini screenshots. VenMon program on top, task manger time below.

https://i.imgur.com/h6HpQzr.png

I'm sure there are ways to get a ...
by Ventural
Wed Jun 20, 2018 7:50 am
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 157464

Re: PureBasic 5.70 LTS beta 1 is out !

DPI ListIconGadget test with Enabled DPI Aware Executable turned on
OpenWindow(0, 0, 0, 300, 100, "DPI ListIconGadget Test")

ListIconGadget(1, 2, 2, 296, 96, "Col A", 75)
AddGadgetColumn(1, 1, "Col B", 75)
AddGadgetColumn(1, 2, "Col C", 75)

AddGadgetItem(1, 1, "Item 1 Data" + #LF$ + "Item 2 Data ...
by Ventural
Thu May 24, 2018 2:22 pm
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

ok, so you did those steps and it still doesn't work?

I've been working on a solution for you for awhile now. I just happened to run across a computer with the same symptoms that you mentioned and was hoping that would fix it.
by Ventural
Wed May 23, 2018 10:02 pm
Forum: Applications - Feedback and Discussion
Topic: VenMon - PC Monitoring Software
Replies: 44
Views: 20672

Re: VenMon - PC Monitoring Software

Hm, nothing changed here. Still got CPU at 0%.
Customer brought in a computer today because it was running very slow with a Core i7 on Windows 7 Home. I noticed that Venmon was not reading the processor usage. I opened up the built-in Windows Performance Monitor tool and it had errors. Opened up ...