Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00397198
Message ID:
00397285
Vues:
13
Works fine Rip. Still bugs me that ShellExecute won't work but this is a fine workaround. Thanks.

George

>>Can anyone tell me what I am doing wrong here:
>>
>>
>>DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
>> INTEGER HWND, ;
>> STRING lpVerb, ;
>> STRING lpFile, ;
>> STRING lpParameters, ;
>> STRING lpDirectory, ;
>> LONG nShowCmd
>>=Shellexecute(0,"Open","d:\VFPAPPS\APPDOCS\PROCS.TXT","","",0)
>>
>>
>>I have this in a click event. I am trying to open up a text file in notepad but all it does is show an hour glass very briefly and then nothing. I am stumped.
>>
>>Thanks,
>>George
>
>
>How about using the run command instead?
>
>run /N notepad "d:\VFPAPPS\APPDOCS\PROCS.TXT"
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform