FileType Manager (modFileType.bas)

By | 2002-06-01

This module enables you to manage file types programmatically (by accessing the Windows Registry). For example change Text Documents (.txt) to open with a text editor other than Notepad; Change the icon of eg. Text Documents. And a whole lot more.
I hope you find this useful!

Original Author: Jan Botha

Inputs

All functions have their own input parameters which is described within the code.

Assumptions

You need to know what a file type is, what it’s used, etc. You can figure out most of it by going to View, Options, clicking the File Types tab in Windows Explorer (Win95) and playing around there. Again, be careful not to mess up something.
There is also a module included for accessing the Registry. The module was written by Randy Mcdowell. I DID NOT write it.

Returns

Some functions do return something, though the majority doesn’t. Also described within the code.

Side Effects

You must be careful when you use this code. If you remove a certain file type for example, you could have a problem if you don’t know how to repair it. Just be careful.

API Declarations

‘There are quite alot
‘Everything’s inside the modules

Attachments

FileUploadedSize
CODE_UPLOAD2661112000.zip9/3/2020 3:45:00 PM5407
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.