Returns the path to a system folder, based on input. This code is based on a submission by ‘Don’. Originally the code only found the System Folder on the machine. I have added all of the system folders (MyDocuments, System, Cookies, etc), and made it into a class/dll for ease of use. The code is relatively self explanatory, however, I have added comments, just in case.
Original Author: unknown
Inputs
lngNum: Enumerated value relating to the different folder information that can be retrieved
Returns
String: the path to the folder requested.
Side Effects
Will cause nuclear meltdown…
Attachments
File | Uploaded | Size |
---|---|---|
CODE_UPLOAD33332102000.zip | 9/3/2020 3:45:00 PM | 5554 |