Skip to Content
0
Dec 04, 2006 at 11:01 AM

How to open instance of Internet Explorer as OLE object?

436 Views

Hi guys,

I use this code, but it doesn't work. I see an instance of ixplorer.exe in processes, but can not see the window. What's wrong? I use this code..

REPORT ztest.

INCLUDE ole2incl .

DATA: lr_ie TYPE ole2_object .

CREATE OBJECT lr_ie 'InternetExplorer.Application'.

*CALL METHOD OF lr_ie 'Navigate'

*EXPORTING #1 = 'http://www.yahoo.com'.

FREE OBJECT lr_ie.

Thanx, Peter