in reply to Re^5: IE & File Open
in thread IE & File Open

Hi Again ikegami,

I saw this script, but it doesn't tell me how to incorporate it into my code. Below is the code that I have if that helps you:

use strict; use Win32::OLE; my ($brio, $Process); #$brio = '//163.10.50.33/planning/logistics/programs/B_Chicago_wip_que +ry.bqy'; $brio = 'D:\\Chicago wip query.bqy'; my $ie = Win32::OLE->new("InternetExplorer.Application") or die "Can't + start IE\n"; $ie->{visible} = 1; #$ie->navigate("http://www.perlmonks.org"); $ie->{visible} = 1; sleep 3; $ie->navigate($brio); sleep 5; $ie->click_button(value => 'Process');

I am sorry if this is too newbie of a question, I am just trying to figure out how to fit it in. Also, I know it is going to give me a pop-up window that is going to ask me for a password, so I may need more help there as well. Thank you for your help.

Regards,
Portree

Replies are listed 'Best First'.
Re^7: IE & File Open
by ikegami (Patriarch) on Jul 26, 2005 at 16:24 UTC
    That looks like it should work. What's the problem?
      I get an error:

      retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156.

      and then the code stops.