Search:
Type: Posts; User: neotechni
Search:
Search took 0.02 seconds.
-
So it was Win11 doing something stupid. I had this laptop plugged into a 4K monitor at home, and I am elsewhere for the time being using a 1080p monitor. Win11 decided to keep the resolution set to...
-
I'm not typing in a control, I'm typing in the programming windows, to program the controls.
As for the monitor it's a 1080p PS 3DTV but 3D is disabled unless you push a button, and it's the same...
-
the farther in a line the cursor is, the more it'll be off by
when I click a position in text to begin typing, the text inserted will actually be a few characters before the cursor, and thus screw...
-
So reading "SYSTEM\CurrentControlSet\Enum" & PNPDeviceId & "\Device Parameters\EDID" was able to get me the true name of the monitor
Using a function to convert the bytearray to chr(each character),...
-
I am getting an overflow with very short (4 digit) strings, and GetTextExtentPoint32 is returning 0. Could there be any other issues at play here?
-
So it turns out all those error code values were wrong (even though they were copy/pasted from somewhere...), and upon correcting them, the error in question is:
PDH_CSTATUS_NO_OBJECT 'The...
-
this is the code I've been using, but it stopped suddenly and now only works randomly
GetMonitor("cpu") used to return the CPU usage %
Now I get:
AddMonitor (B) -1 is invalid:...
-
I don't suppose you kept the finished code for this?
-
Well I had it drawing stripes, now it's not changing the image at all :/
-
I'm trying to compare the same pixels of 2 images (one light, one dark) to change the alpha of one image to the difference between any of the color channels of those pixels (I use red)
Light:...
-
Thank you all. Your suggestions got it working
And to show you the fruits of your labor, here's what it does:
https://www.youtube.com/watch?v=mNauZcxDDS4
-
I use this to open a file:
FileID = FreeFile
Open Filename For Input Access Read As #FileID
And I've been using InputB(length, FileID) to read individual bytes
But for some reason InputB...
-
I need the ability to draw a rectangle onto an HDC
What are the normal options for a pen to just be a solid color?
-
So using the joyGetDevCaps API I'm polling data of a game controller, but I'm getting garbage data
Controller: Saitek Pro Flight Quadrant
szRegKey: DINPUT.DLL ˆ~ðqäâ ˆ~ðqp(D
szOEMVxD: â...
-
Could you please post the DirectInput code?
-
I'm having a problem with PdhVbGetOneCounterPath, it always returns zero and m_sCounterPath is always filled with char(0) instead of what I selected. (I'm using Windows 10)
I tried...
-
Interesting,
I managed to get the popup to show with the list, but no matter what I click the function that's supposed to return the number of characters returns 0 so the path is always empty.
...
-
That seems to be code to get the RAM usage of a specific process, this thread is about total CPU usage though
-
I don't like WMI either, it takes like a full second to get CPU stats and that's just terrible for real time applications...
There's gotta be proper API for this, Task Manager probably doesn't use...
-
Whoops
Public Function Append(ByVal Text As String, ByVal TextToAppend As String, Optional Delimeter As String = "|") As String
Text = TrimS(Text, Delimeter)
TextToAppend =...
-
I took Doogle's code and made it so you can query a specific property
Private WMI As Object
'CPU or Core: -1=total of all CPU/Core values, 0 or above=that specific CPU/core value (value =...
-
The function pvSetResourcePosition is missing from both the text file and this thread.
-
I rewrote this into easier-to-reuse code that can be copy/pasted into a module
Private Declare Function CryptBinaryToString Lib "Crypt32.dll" Alias "CryptBinaryToStringW" (ByRef pbBinary As...
-
I love how small the code is. Do you know how to load an image from an stdpicture or hWnd, and save to a byte array instead of a file?
-
How do I set it to raise events on volume changes?
I tried the caudiosessionevents class, but IAudioSessionEvents_OnSimpleVolumeChanged doesn't get raised when I change my volume
-
I've run into the same problem. I need VB6 to connect via HTTPS and the code works for google, but nothing else...
-
Properties for window 0x000605B2
Item Value
Class Name WindowsForms10.Window.8.app.0.3a9f0c_r16_ad1
Text
Rectangle 2351, 172, 3489, 1015
Size 1138, 843
Client Rectangle 0, 0, 1138, 843...
-
Will do. I just have to wait till an admin is in to authorize the program... (Trying to automate something for work)
-
I've removed personal info, hence the blank spaces.
171791
EDIT: I don't know why it's so small...
-
Don't suppose there was ever a working example?
-
The app in question has a listview-like control. I say like cause the API to extract data from standard listviews has no effect on it. I'd like to extract all the text.
I can't even seem to get...
-
Turns out I was wrong anyway. ParallelBlt worked just fine. Thank you though.
-
PolygonBlt isn't actually drawing a proper polygon, but a parallelogram. How would I draw an image as a polygon using an array of 4 POINTAPIs to set each corner's coordinate (like DrawPolygon, but...
-
Option Explicit
Private pPolicyCfg As PolicyConfigClient
Public Sub var_dump(Text() As String)
Dim temp As Long
Debug.Print "var_dump"
For temp = 0 To UBound(Text)
...
-
How do you do do #2? I see no class instancing property for a class. Did you mean usercontrol not class?
I just want to make 2 functions for adding and removing items for a UDT array, so I don't...
-
I disagree with all of your points
making a second topic is spaming
and i was trying to reach the guy who resolved the issue
i seriously doubt ppl are so lazy to not help cause of the 2 previous...
-
That seems like a waste of space/time when I can just reply here. And the google links for the question already point here, so it potentially helps others
-
Dont be sorry for helping, thats what this forum is here for.
-
-
I added it. But now it says server not found...
Arg, I just want to connect to a local file
|
Click Here to Expand Forum to Full Width
|