Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Extensions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00159986
Message ID:
00160034
Vues:
34
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform