VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



FileType Manager (modFileType.bas)

by Jan Botha (6 Submissions)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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!

Inputs
All functions have their own input parameters which is described within the code.
Assumes
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.
Code 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

Rate FileType Manager (modFileType.bas)

Download FileType Manager (modFileType.bas)

Download FileType Manager (modFileType.bas) (5 KB)

FileType Manager (modFileType.bas) Comments

No comments have been posted about FileType Manager (modFileType.bas). Why not be the first to post a comment about FileType Manager (modFileType.bas).

Post your comment

Subject:
Message:
0/1000 characters