Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verify file extension is associated with an application
Message
De
13/11/2001 17:11:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Verify file extension is associated with an application
Divers
Thread ID:
00581172
Message ID:
00581172
Vues:
50
We would like to programmatically confirm that a program has been associated with a specific file extension before trying to launch the file using the ShellExec API.

By programmatically confirm, I mean that we would like to make sure that:

1. A program has been associated with the given file extension

2. That the referenced program actually exists

We would use this information to enable/disable specific files from being clicked on if a user's workstation didn't have a valid application associated with the file in question.

Any thoughts on how we might do this?

Thanks!
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform