Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01446508
Message ID:
01446509
Vues:
106
Did you check return value from ShellExecute ()?

>Hi, I had a ShellExecute cmd working under XP to instantiate the default windows email program whcih was outlook express. But in Vista it doesn't seem to be working. Can you advise?
>
>#DEFINE SW_SHOWNORMAL 1
>#DEFINE SW_SHOWMINIMIZED 2
>#DEFINE SW_SHOWMAXIMIZED 3
>
>t1="mailto:someguy@hotmail.com?Subject=" +title+"&Body="+CHRTRAN( contents, [&], [+] )
>
>lcFileName=t1
>DECLARE INTEGER ShellExecute IN shell32 ;
> INTEGER lnhwnd, STRING lcOperation, ;
> STRING lcFile, STRING lcParameters, ;
> STRING lcDirectory, INTEGER lnShowCmd
>lnRes = ShellExecute( 0, "open", lcFileName, "", "", SW_SHOWMAXIMIZED )
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform