I am trying to launch another executable from a path stored in the registry. When testing my code, I get an error: "Object reference not set to an instance of an object."
My code is:
Any suggestions?
My code is:
VB.NET:
Module Module1
Sub Main()
Dim readValue As String
readValue = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\amake32", "GUI_PATH", Nothing).ToString
Console.WriteLine("The value is " & readValue)
End Sub
End Module
Last edited: