Using the Internet Explorer webbrowser in Ole4GL

pierremans

New Member
Hi,

Does anybody have experience in using the webbrowser in Ole4GL? And if so, can you give me information on how to do that?

I tried several of these forms (using about anything I found in the registry):
chCtrlFrame:Ole4GL:CreateObject("InternetExplorer.Application", FALSE).
chCtrlFrame:Ole4GL:CreateObject("InternetExplorer.Application.1", FALSE).
chCtrlFrame:Ole4GL:CreateObject("IWebBrowserApp", FALSE).
chCtrlFrame:Ole4GL:CreateObject("IEWebBrowser", FALSE).
chCtrlFrame:Ole4GL:CreateObject("IWebBrowser2", FALSE).
chCtrlFrame:Ole4GL:CreateObject("EWebBrowser", FALSE).
But none of them succeeded. Each time I get the error telling me that te class is not registered. Using shdocvm.dll directly as an ocx works just fine so I would say it's not a faulty-installation of configuration issue.

Hope you can help me

With kind regards

Pieter Brouwer
 
DEFINE VARIABLE chWeb AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE chWebAppl AS COM-HANDLE NO-UNDO.
CREATE "InternetExplorer.Application.1" chWeb.
ASSIGN
chWebAppl = chWeb:APPLICATION
chWebAppl:VISIBLE = TRUE.
 
Back
Top