gube has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I used win32::ole for word documents likewise, how to access iexplore through OLE. please, give me a hint code.

Thanks in advance.

Regards,
Gubendran.L

Replies are listed 'Best First'.
Re: How to access iexplore through ole
by dimar (Curate) on Feb 08, 2005 at 05:16 UTC

    This should be enough to get you started.

    ### begin_: init perl use strict; use warnings; use Win32::OLE qw(EVENTS); ### begin_: test my $sURL = "http://www.perlmonks.org"; #site you want my $IEbrowser = Win32::OLE->new('InternetExplorer.Application') or die "oops! $!"; $IEbrowser->{left} = 0; $IEbrowser->{top} = 0; $IEbrowser->{height} = 725; $IEbrowser->{width} = 650; $IEbrowser->{menubar} = 0; $IEbrowser->{toolbar} = 0; $IEbrowser->{statusbar} = 1; $IEbrowser->{visible} = 1; $IEbrowser->navigate($sURL); ### begin_: end perl 1; __END__
Re: How to access iexplore through ole
by mkirank (Chaplain) on Feb 08, 2005 at 05:25 UTC
Re: How to access iexplore through ole
by gube (Parson) on Feb 08, 2005 at 06:05 UTC

    Hai scooterm, i thanks to u. I tested the code. It's working good. Thanks for u'r sample code.

    Regards,
    Gubendran.L

Re: How to access iexplore through ole
by tphyahoo (Vicar) on Feb 08, 2005 at 11:23 UTC
    Not a perl solution, but you might want to check out internet macros.

    Trial download if I remember correctly, and lots of free scripts showing mechanizing of IE through windows scripting hosts script. Might give you some ideas :)