>#include registry.h >local oRegistry, lcMailClient >oRegistry = newobject("Registry","Registry.prg") >**** getting the default email client NAME! ********** >lcMailClient = ; > oRegistry.ReadRegistryString(HKEY_LOCAL_MACHINE, ; > "Software\Clients\Mail", "") > >if empty(m.lcMailClient) > =messagebox("No email client installed") > return "" >endif > >return m.lcMailClient >>>You also need registry.prg and registry.h files Send me request by e-mail, if you don't have them.