Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00092846
Message ID:
00092901
Vues:
39
>>I don't think that second declare will work. Both NT (as far as I know) and 95 use the first one, but the strings should be passed by reference.
>>
>>I see you've discovered one of the beauties of ShellExecute(), you can smply pass the name of the file you want opened and the associated application will open and run it. It would be interesting on the NT machine to see if FindExecutable() (also in Shell32) is returning the same application.
>
>
>I didn't think so either. I have NT but I didn't try it as VFP is not loaded on it. He says that the second declare works. I just shrugged.
>
>I think that the app association functionality is one of the best things about this function. Especially if you don't know what the user has on their machine, like browsers.

Agree 100%. Additionally, there's OLE Automation and DDE, both of which require that you know what's running what. I wouldn't be surprised if this area was expanded greatly in terms of API functionality in Win 98. That's purely a guess.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform