Portree has asked for the wisdom of the Perl Monks concerning the following question:
My question is in regards to using PERL to open Internet Explorer and then using IE to open a second program. The program I am running is called BRIO and the query that BRIO completes can only be run from an IE window. I have my code setup to open IE, and that works fine (found the code for that on this site), but then I am kind of stuck on how to have PERL open BRIO from the IE session. I have my code below, which I know is wrong, but can anyone out there help me. Thanks Portree
use strict; use Win32::OLE; my ($brio); #This is the location where my brio query is held on the server $brio = '//172.21.75.45/planning/logistics/programs/B_Chicago_wip_query.bqy' +; #Then open up a new IE session my $ie = Win32::OLE->new("InternetExplorer.Application") or die "Can't + start IE\n"; $ie->{visible} = 1; $ie->navigate("http://www.perlmonks.org"); #didn't seem to need this next piece, seems to work fine without it #while(1){ # $ie->Refresh(); # sleep 5*60; #} #Then try and use IE to open up the BRIO program $ie->open = ($brio)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IE & File Open
by ikegami (Patriarch) on Jul 25, 2005 at 17:54 UTC | |
by Portree (Novice) on Jul 25, 2005 at 18:39 UTC | |
by ikegami (Patriarch) on Jul 25, 2005 at 18:43 UTC | |
by Portree (Novice) on Jul 25, 2005 at 19:05 UTC | |
by Portree (Novice) on Jul 25, 2005 at 20:07 UTC | |
by ikegami (Patriarch) on Jul 25, 2005 at 20:28 UTC | |
| |
by Portree (Novice) on Jul 25, 2005 at 21:29 UTC | |
|
Re: IE & File Open
by radiantmatrix (Parson) on Jul 25, 2005 at 18:15 UTC |