Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
16-Bit API to start program using associated file...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00217293
Message ID:
00217346
Vues:
22
>Is there an API that will allow me to run a program by passing a file name and having the OS run the program based on the current file association?
>
>This is for Fox 2.6 and would love something that would work in 3.11/9x/NT is possible. Something like...
>
>RunProg('MyFile.Doc')
>
>and it would run Word and word would open myfile.doc... Or, it would run word perfect, if that was what was associated?
>
>Thanks,
Hi BOb,

ShellExecute() in the 16 bit shell.dll would be your best bet. You'd have to use RegFN() and CallFN() to use it. AFAIK (I haven't tried), it should work just fine.
George

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

Click here to load this message in the networking platform