if you need to know the deafult web browser, you can use this registry key / si necesitas saber el navegador web por defecto, puedes usar esta clave del registro:
Code: Select all
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\Progid
Code: Select all
#include "FiveWin.ch"
#define HKEY_LOCAL_MACHINE 2147483650
#define HKEY_CLASSES_ROOT 2147483648
#define HKEY_CURRENT_USER 2147483649
#define HKEY_USERS 2147483651
#define HKEY_CURRENT_CONFIG 2147483653
Local oReg, cName
oReg := TReg32():New( HKEY_CURRENT_USER, "SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice")
cName := oReg:Get("Progid")
Msginfo(cName)
Chrome -----> ChromeHTML
Firefox -----> FirefoxURL
IE -----> IE.HTTP
Regards / Saludos