Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding mswinsck.ocx file from inside the app
Message
From
01/11/2007 10:30:28
 
 
To
01/11/2007 10:19:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01265713
Message ID:
01265716
Views:
11
>I want a way in code to find the mswinsck.ocx file on the box running the application. I was trying to use FILE() but it seems to be reliant on the PATH set within the applicaton. I want to look beyond that. Or if there is another way to handle it. Maybe I should carry the file in the table in my project, but that doesn't seem like the best way.

If it's on the box, it should be registered and be listed in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools, so you should be able to use the registry class to look for it there. If it's not there, then I guess it's not on the box (or not registered).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform