Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute
Message
 
 
À
22/06/2006 06:12:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01130727
Message ID:
01130958
Vues:
26
Alessio,

I think Borislav has hit it. double clicking a file in explorer triggers the "open" operation not the "edit" operation you are asking it to do in your shellexecute() call.

Either change your call to open, or make sure the edit option on the file type is set to the program you want.

>It works fine
>The file is opened by MSPAINT
>>What happend if you double click on that file in Windows Explorer (there where your ShellExecute not working)?

>>>>> result = ShellExecute(0, 'Edit', xFileToOpen , '', xLocation, 1)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform