>declare long FindExecutable in "shell32.dll" ;
> string lpFile, string lpDirectory, string @lpResult
>
>* e.g:-
>
>local buffer
>buffer = space(2000)
>
>result = FindExecutable("c:\test.rtf", "c:\", @buffer)
>
>if result < 32 && failed
> messageBox("No association")
>else && Ok...
> messageBox("Found " + alltrim(buffer))
>endif
Thanks I tryed that before. I just didn't know what dll it was in.
Thanks again
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers