OK, I have an intranet site that has a third party site that uses 11 different ActiveX controls to use their proprietary web based application. (I can hear the cringes already, but this is what happens when the CEO signs the contracts without consulting the IS Department.) If a user tries to access the site, without ever having visited it before, it locks up trying to install the components and they become damaged. They then call our HelpDesk, and our guys have to go in, remove the damaged components, and go to a separate page to install the components, so they install in the proper order.
What I'd like to do is scan their folder, and verify the following things:
1) To see if specific activeX controls are already loaded.
2) To see if any of the loaded controls are damaged.
If the specific controls aren't there, or are damaged, then I would like to redirect (using a header call) to the page that autoloads the components properly.
If the controls are there, and nothing is damaged, then proceed to the desired page.
I know this isn't perfect, but if I can save at least 1 call to my HelpDesk per week, then the efforts will have paid off.