FindSystemFolders

By | 2002-06-01

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

FileUploadedSize
CODE_UPLOAD33332102000.zip9/3/2020 3:45:00 PM5554
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.