I have 4 Agents running on different machine. Some of them has IE 5 and some other has 6. IE is used only to generate license. I don't want to mind about IE version on each machine but when I need to generate license, I get some problem. Is there a way to do it ?!?
Have you looked at SetBrowserType() and SetDefaultBrowserType(). I call both (first SetDefault... then SetBrowser) with params of BROWSERTYPE (like explorer6_DOM). You'll have to change to the correct one at the appropriate time so you'll need to know what browser is on a given machine.
I wrote this a while back when having troubles getting this work perfectly: