One neat OLE object (btw this works even in Windows 10 - i don't know about 11) is the "package" which allows you to embed any file as an OLE object. So basically you can drop an image file, PDF, video, program or anything else in WordPad and it'll put an icon representing it that if the user double clicks it'd be equivalent to them doubleclicking a file.
Of course most of the time it isn't very practical (and WordPad chokes at anything above a handful of MB) since you're making a bad archive file (using the default .rtf format will encode the binary data in hex which will actually increase file size), but i always liked how general the idea was.
(also it isn't limited to WordPad but to anything that uses OLE - e.g. you could do the same with Delphi which has a "OLE object" control that can embed any OLE object and the object becomes part of the executable - so you could, say, throw a PDF file in a package OLE object in a form and when the user doubleclicks it the control opens the default PDF viewer)
Seems like the implementation was impractical, but it's basically what we do with Obsidian and any modern knowledge management software. Feels to me like it was ahead of its time.
Of course most of the time it isn't very practical (and WordPad chokes at anything above a handful of MB) since you're making a bad archive file (using the default .rtf format will encode the binary data in hex which will actually increase file size), but i always liked how general the idea was.
(also it isn't limited to WordPad but to anything that uses OLE - e.g. you could do the same with Delphi which has a "OLE object" control that can embed any OLE object and the object becomes part of the executable - so you could, say, throw a PDF file in a package OLE object in a form and when the user doubleclicks it the control opens the default PDF viewer)