devxlogo

InternetExplorerPath – Test whether IE is installed and retreive its path

InternetExplorerPath – Test whether IE is installed and retreive its path

' get the IE installation path, or a null string if it isn't installed'' NOTE: requires the GetRegistryValue routineFunction InternetExplorerPath() As String    Const HKEY_LOCAL_MACHINE = &H80000002    ' get the path from the registry, or return a null string    InternetExplorerPath = GetRegistryValue(HKEY_LOCAL_MACHINE, _        "SoftwareMicrosoftWindowsCurrentVersionApp PathsIEXPLORE.EXE", _        "Path")    ' get rid of the trailing semi-colon, if there    If Right$(InternetExplorerPath, 1) = ";" Then        InternetExplorerPath = Left$(InternetExplorerPath, _            Len(InternetExplorerPath) - 1)    End If        End Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist