Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the CLASS name from the registry from extension.
Message
 
 
To
12/08/1998 10:06:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125998
Message ID:
00126107
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform