Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if an email program is installed?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00752609
Message ID:
00752744
Vues:
11
>I appologize, usually I add the name of the person, who gave the code to me. In this case I forgot to do it:

>CheckDefaultEMail:
#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.


He should have it, doesn't he?, It's the same that comes with Fox Foundation Classes, doesn't it?
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform