GetApplicationPath – Retrieve the path of a Windows application from the Registry
Const HKEY_LOCAL_MACHINE = &H80000002′ Get the path of a Windows application’ or an empty string if the application isn’t registered” this routine only works for those applications that register’ themselves