Get The Windows Directory 2
Version Compatibility: Visual Basic 6, Visual Basic 5
The following code snippet is a quick and simple way to get the Windows directory. Just add a command button for the demo.
Instructions: Copy the declarations and code below and paste directly into your VB project.