Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute not working
Message
From
26/07/2000 17:33:14
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00397198
Message ID:
00397352
Views:
11
What happens when you double click that same file in Explorer?


>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
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform