' Get the path of the Oracle's SqlPlus.exe utilityFunction GetSqlPlusPath() As String Dim regKey As Microsoft.Win32.RegistryKey = _ Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWAREORACLE") If regKey Is Nothing Then Return "" End If Dim sqlplusPath As String = System.IO.Path.Combine(CType(regKey.GetValue _ ("ORACLE_HOME"), String), "binsqlplus.exe") regKey.Close() Return sqlplusPathEnd Function