What I want to do is basically version check to make sure that the dll's, ocx's etc are the same or better than the ones that my program was installed with.

So, what I need to do is dynamically check a version number of a dll, ocx at runtime. I want to know at the time that it loads so I can warn the user that the program may not work correctly and alert the user that a dll, ecx etc is out of date or has been changed and of course put it back if nessecary.

Is checking the version number possible at runtime. Must be dynamic. I do not want to have to know before hand what is going to load. Can this be done?