Const HKEY_LOCAL_MACHINE = &H80000002' read the name and path of the external HTML editor' configured for the VB environment'' Requires the GetRegistryValue functionFunction GetExternalHTMLEditor() As String ' Note that the exact registry key depends on ' the version of Visual Basic GetExternalHTMLEditor = GetRegistryValue(HKEY_LOCAL_MACHINE, _ "SoftwareMicrosoftVisual Basic6.0External Tools", "HTML Editor", "")End Function