Can I Programmatically choose Plugin (outside of the HTML code)??
I am currently tasked with writing a custom browser for our company using the AxWebBrowser control, and I'm doing it in C#. It's working nicely, and I've got everything working according to their specs, save for one requirement: Choosing the java plugin at runtime, via a config setting.
I've got tons of XML config settings that I import and utilize within my browser. Using one of these parameters, I need to be able to tell the browser what plugin version to use at launch. I cannot rely on using CLSID or MIME types, since in this scenario, the HTML involved will all be handled by the clients.
I've tinkered with many things to try to find a solution here, but so far, I am hitting a brick wall. I have tried setting some Registry settings to see if I could enforce a specific java plugin when the browser launches, but if I am to tamper with the registry settings, I need to know exactly which ones to use, so it does not end up behaving like a cludgy hack, and possibly leave corrupted registry settings lying around.
I cannot rely on using the Java Plugin Control panel, since this should be done seamlessly, and programmatically according to my XML setting for the plugin. Each user that logs in to the terminal, will have their own config file, and this file gives the browser its environment settings (security settings, enable/disable scripts/activex, etc). I just need to know if this changing of the java plug-in is feasible, without having to use the control panel and without tampering with the HTML (since that is out of my control, and we cannot rely on or force the client to update their HTML code).
Any help/suggestions here would be very much appreciated. Even finding out that this can not be done would at least be a definitive answer (if it is indeed true).
Thanks very much in advance!!!