I am trying to use code stage to create and use Internet Explorer COM object in Blue prism, like this:
Dim ie as InternetExplorer
ie = new InternetExplorer
But when I tried to add external .dll reference, I got "Unable to load reference library" error. I tried both "shdocvw.dll" and "ieframe.dll", both failed. Can anyone give me some hints?
Another thought is, when we create an browser(IE) based Business Object, Blue Prism should have created an internal IE object. If we can interact with that object in code stage, that will work as well. Here is some hint to the internal IE object:
Easiest solution is not to use the DLLs at all and take advantage of the Visual Basic's
CreateObject
method. There are some drawbacks to it, but it should do for most things.Apparently
GetObject
doesn't work with IE for security reasons, so if you wanted to interact with an existing IE instance, you may need to get a bit more creative.