Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Extensions
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00159986
Message ID:
00160034
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform