Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the CLASS name from the registry from extension.
Message
 
 
À
12/08/1998 10:06:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125998
Message ID:
00126107
Vues:
29
Tim,

Are you just trying to launch the app associated with a file extension? If so my website has some code showing how to use ShellExecute() to do that, you don't have to bother with the registry.

>Hi! I was wondering if anyone knows a way to get information from the registry in VFP 5.0.
>
>What I specifically want is:
>
>In HKEY_CLASS_ROOT
>where all the extensions are I want the class name like
>for example (on my comuter a BMP has:
>(Default) "ACDC_BMP"
>
>But if I use PAINTPICTURE the program won't open in the program the user is used to...
>
>So the question is can I get this info from the registry some how???
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform