Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry File Search
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00196580
Message ID:
00196700
Views:
24
>I was wondering if it is best to check the windows registry to find if an application is installed on a work station? And if so, what command or control would I use to find a file name 'AcroRd32.exe' in the registry using code only. I've looked at serveral controls in the files section, but could not find one to do what I want it to do. I would appreciate any help.
>
>
>
>Thanks,

Michael,

It's always a good idea to check if a particular application exists on a machine, and there are many ways you can go about it.

1) Have your installation script (Installshield or whatever) do it for you. There are specific commands available there.

2) If you're using VFP 5.0 and below, you can access the Windows API using functions like RegQueryKey etc. (all registry functions start with reg) by declaring them in your VFP application. In fact within UT's archives you could find some code which wraps up these API calls

3) If you're using VFP 6.0, the foundation classes have wrapped these calls in a 'registry' class extremely well.
Sanjay Kapoor

Relatively speaking is a conversation with Einstein
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform