Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Win32::OLE and IE automation

by puff (Beadle)
on Jan 06, 2006 at 16:45 UTC ( #521529=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    Private Sub object_NewWindow2( _
        ByRef ppDisp As Object, _
        ByRef Cancel As Boolean) 
  2. or download this
    sub ie_events(){
        my( $ie, $event, @args ) = @_;
  3. or download this
    my $ie = Win32::OLE->new( 'InternetExplorer.Application' );
    Win32::OLE->WithEvents($ie, \&ie_events, 'DWebBrowserEvents2' );
  4. or download this
            $args[0]->Put( $ie ); 
            $args[1]->Put( 0 ); 

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://521529]
Approved by Old_Gray_Bear
[stevieb]: cheers beech. twas totally my mistake, and I got bit. When things work for so long without issue, one becomes complacent (ie. replace we/one with I ;) I've been copy/pasting that around for a few years without a hiccup, so when...
[stevieb]: choroba pointed that out, I was just, you know, *sigh*. In effect, I was lucky and fortunate
[stevieb]: Kind of like my regex-fu went out the window, but only while looking at that specific file ;)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-07-25 23:33 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (383 votes). Check out past polls.