Hello All, I first want to say this site has been a tremendous help as I learn to use PERL and kind of hack my way to some automation. Thank you all for taking the time to post your questions and answers. A huge help for us newbies.

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)

In reply to IE & File Open by Portree

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.