top of page
Blog posts
Search
The ":Zone.Identifier:$DATA" alternate data stream (ADS)
The ":Zone.Identifier:$DATA" alternate data stream (ADS) ... unblocking files that have the "Mark of the web"
Mar 43 min read
Â
Â


Reading, writing and deleting alternate data streams (ADS)
How to read, write and delete the alternate data streams (ADS) for a file or folder using VBA code?
Mar 33 min read
Â
Â


Getting the alternate data streams (ADS) for a file or folder
How to get a list of the alternate data streams (ADS) for a file or folder using VBA code?
Mar 23 min read
Â
Â


Expand / un-expand environment variable strings
Expanding and unexpanding environment strings using the Windows API.
Feb 272 min read
Â
Â


Put text into the clipboard / get text from the clipboard
Working with the clipboard using the Windows API ... put text into the clipboard, get text from the clipboard, empty the clipboard, check whether the clipboard contents have changed.
Feb 232 min read
Â
Â


WinAPI error codes
When working with Windows API Functions, you will often have an error number made available to the calling code. There are, literally, thousands of error numbers, and they are listed on the Microsoft error codes page.
Jan 203 min read
Â
Â


Setting file / folder attributes
Setting file / folder attributes using the SetFileAttributes Windows API Function
Jan 82 min read
Â
Â


Getting file / folder attributes
Getting file / folder attributes using the GetFileAttributes Windows API Function
Jan 72 min read
Â
Â


Enumerate all child windows
The EnumChildWindows Windows API Function enumerates all child windows of a (parent) window ... and it does so recursively in that all child windows of those child windows (ie so grandchild windows) are also enumerated, as are great-grandchild windows, great-great-grandchild windows and so on. This makes EnumChildWindows very handy if you want to get a list of all such windows, or if you want to get all such window(s) with a specific caption and/or class name.
Nov 19, 20252 min read
Â
Â


Showing the 'Font' dialog box using the ChooseFont Windows API Function
This code shows the 'Font' dialog box and allows all of the values within it both to be set, before it is shown, and read after it is shown. This means that your code can allow the user to select a font, including: the font name; the font style (eg italic, bold); the font size; whether the font is 'strikeout'; whether the font is 'underlined'; the font colour; the specific script (ie the charset).
Nov 17, 20253 min read
Â
Â


Articles: Blog2
bottom of page