Search:
Type: Posts; User: Caine
Search:
Search took 0.03 seconds.
-
It's on disk 3: \COMMON\TOOLS\VB\UNSUPPRT\SHELLLNK.
-
That actually worked. Instead of waiting for like 10 seconds, MZ-Tools now loads almost immediately. I tried v8 of MZ-Tools (trial) first, but the problem persisted. Your hack worked on my system....
-
That's exactly my understanding. IIRC, there's a well commented ASM listing from Paul Caton over at Githubs PSC repo. As long as LaVolpe didn't change too much, the behavior should be the same.
-
Did you by chance disable the option "Drag-and-Drop Text Editing" under Options → Editor → Window Settings?
-
Never mind, this is just some padding, as confirmed by a small sample project in C++. I was pretty tired last week.
Manually adding the appropriate padding to the structure or using a type library...
-
Has anybody ever tried QueryActCtxW with CompatibilityInformationInActivationContext? I'm currently on Windows 10 1909 (Build 18363.1916) and somehow the information returned is different from what's...
-
For what it's worth, according to the docs the value of the <supportedOS> tag is the same for Windows 10, Windows 11, Windows Server 2016, Windows Server 2019 and Windows Server 2022. Unless there...
-
Well, you've just read a file encoded in UTF-8. You need to use StrConv to convert it to UTF-16.
Since you're trying to get rid of StrConv, you could use MultiByteToWideChar. Here's a snippet (air...
-
I'm on Windows 10 1909.
My code works perfectly with a form object, like this (new Project -> copy paste into Form1):
Option Explicit
Private Const OBJ_FONT As Long = 6
Private Const...
-
GetTextFace returns a font name and via GetTextMetrics I can retrieve the metrics of the font. The font handle retrieved via GetCurrentObject(hDCPrinter, OBJ_FONT) is identical with...
-
Hmm, that I don't get.
LenB(lf) correctly reports 92, while Len(lf) returns 60. This is also completely in sync with the return value of GetObjectW(hFont, 0, ByVal 0&), which returns 92.
The...
-
I just don't know why this wouldn't work and I'm getting the impression that I'm missing a crucial point somewhere. I'm able to use GetTextMetrics and GetTextFace to retrieve some information but I...
-
Hi folks!
I'm trying to execute the following code to get a LOGFONT structure of the default font from the printer:
Dim lf As LOGFONT, hFont&, hDCPrinter&
hDCPrinter =...
-
First of all, thank you very much for your efforts, Krool. Your controls work very reliably and I use them quite often these days.
I do have an issue with ImageLists and property pages, though....
-
@wqweto
I understand the part with the performance optimization. I just don't get this part:
Private Function GetFlagPointer() As Long
Dim he As PROCESS_HEAP_ENTRY
HeapLock hHeap
...
-
@The trick
You probably shouldn't use HeapLock and HeapUnlock when creating the heap with the HEAP_NO_SERIALIZE flag as stated in the MSDN:
-
Yes, the length field shouldn't be part of the string content. Thanks for pointing that out!
You're right about using magic numbers too. I'd definitely do that in production code.
-
Here's an example I used some time ago. I also stumbled over the Stackoverflow answer Eduardo referenced.
Note: Calling the function for the opened key "HKEY_LOCAL_MACHINE\Software\Microsoft"...
-
Just don't use LvwColumnHeaderAutoSizeToHeader with the last column. According to MSDN "If you use this value with the last column, its width is set to fill the remaining width of the list-view...
-
Rubberduck doesn't play nice with huge projects but your mileage may vary. You may also want to check out MZ-Tools. You can still find v3.0 online which was the last free version.
-
Looks nice. Been cycling through Hack, InputNarrow, and Fira Code. I'll be sure to give this a spin.
-
Thanks for creating this invaluable tool. I've been using it for quite some time now and it has always come in handy!
I recently stumbled over an incorrect configuration when trying to use the...
|
Click Here to Expand Forum to Full Width
|