This function opens a .ini file.
OpenKey (FileName As String) As Long
Parameters
FileName
[in] Name of the .ini file to use. Must be the complete path and filename, like c:\mypath\myfile.ini.
If no path is supplied, the Windows folder is assumed. For example, passing only win.ini will open the win.ini file in the Windows folder.
Return Value
0: success