I found this code somewhere on the web... and wonder if it makes any sense.
When I run it with a file name I get no errors and of course nothing comes up. How can I harvest the results of this ShellExecute call? Zit possible or am I dreaming...
Many thanks...
Dennis
Code:
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
ShellExecute (0, "find", <File name>, "", <Directory>,1)
* Example: ShellExecute (0, "find", "Mira.jpg", "", "D:\",1)
When I run it with a file name I get no errors and of course nothing comes up. How can I harvest the results of this ShellExecute call? Zit possible or am I dreaming...
Many thanks...
Dennis