Applying a Custom Filter in an Open File Dialog
What I’m going to cover now is a pretty minor feature of Windows. I would of skipped this article, but I encountered a few people that never heard of this trick. I’ve personally found it useful in scenarios where I was working with custom file extensions… for example, I knew that a particular file with the uncommon extension “.def” could be opened in Microsoft Access. The file extension “.def” is not typically associated with Microsoft Access, but I knew it was a valid file. To explain how the feature works, consider your typical, everyday “Open File” dialog: In this example, the dialog wants you to select a “.torrent” file by default. Because this is the active filter, you only see … Read more