sending paging data using iexplorer and closing iexplorer when done 
Author Message
 sending paging data using iexplorer and closing iexplorer when done

I'm writting a script to check for viruses on my network and page me
using web-based paging.  My problem is I open iexplorer and send the
page, but iexplorer doesn't close.  How do I close IE immediately
afterwards.

thanks in advance,

Jesse Mosley



Sun, 22 Aug 2004 03:38:25 GMT  
 sending paging data using iexplorer and closing iexplorer when done
Try:
    <SCRIPT LANGUAGE="VBScript">
        Window.Close
    </SCRIPT>

Quote:
> I'm writting a script to check for viruses on my network and page me
> using web-based paging.  My problem is I open iexplorer and send the
> page, but iexplorer doesn't close.  How do I close IE immediately
> afterwards.

> thanks in advance,

> Jesse Mosley



Sun, 22 Aug 2004 07:04:45 GMT  
 sending paging data using iexplorer and closing iexplorer when done
ixna, I was thinking client side browser scripting.  If you have access to
the page you could add that to the source and it would close the window.

How are you opening the browser?  If you're opening the file by creating an
IE object, you should be able to use the .Close method... but I could be
wrong.  I look.

-K


Quote:
> Try:
>     <SCRIPT LANGUAGE="VBScript">
>         Window.Close
>     </SCRIPT>


> > I'm writting a script to check for viruses on my network and page me
> > using web-based paging.  My problem is I open iexplorer and send the
> > page, but iexplorer doesn't close.  How do I close IE immediately
> > afterwards.

> > thanks in advance,

> > Jesse Mosley



Sun, 22 Aug 2004 07:10:20 GMT  
 sending paging data using iexplorer and closing iexplorer when done
Done externally with internetexplorer.application, use the quit method: example:

ie = createobject("internetexplorer.application")
yadd-yadda with ie...

ie.quit

: ixna, I was thinking client side browser scripting.  If you have access to
: the page you could add that to the source and it would close the window.
:
: How are you opening the browser?  If you're opening the file by creating an
: IE object, you should be able to use the .Close method... but I could be
: wrong.  I look.
:
: -K
:

: > Try:
: >     <SCRIPT LANGUAGE="VBScript">
: >         Window.Close
: >     </SCRIPT>


: > > I'm writting a script to check for viruses on my network and page me
: > > using web-based paging.  My problem is I open iexplorer and send the
: > > page, but iexplorer doesn't close.  How do I close IE immediately
: > > afterwards.
: > >
: > > thanks in advance,
: > >
: > > Jesse Mosley
: >
: >
:
:



Sun, 22 Aug 2004 07:51:27 GMT  
 sending paging data using iexplorer and closing iexplorer when done
Thanks, the ie.quit statement did the job for me.

Jesse



Quote:
> Done externally with internetexplorer.application, use the quit method:
example:

> ie = createobject("internetexplorer.application")
> yadd-yadda with ie...

> ie.quit




Quote:
> : ixna, I was thinking client side browser scripting.  If you have access
to
> : the page you could add that to the source and it would close the window.
> :
> : How are you opening the browser?  If you're opening the file by creating
an
> : IE object, you should be able to use the .Close method... but I could be
> : wrong.  I look.
> :
> : -K
> :


> : > Try:
> : >     <SCRIPT LANGUAGE="VBScript">
> : >         Window.Close
> : >     </SCRIPT>


> : > > I'm writting a script to check for viruses on my network and page me
> : > > using web-based paging.  My problem is I open iexplorer and send the
> : > > page, but iexplorer doesn't close.  How do I close IE immediately
> : > > afterwards.
> : > >
> : > > thanks in advance,
> : > >
> : > > Jesse Mosley
> : >
> : >
> :
> :



Tue, 31 Aug 2004 14:35:23 GMT  
 sending paging data using iexplorer and closing iexplorer when done
I am running a WSH script that maps and checks various directory locations
for infected files.  I was using the following command to start Iexplore:

iret =ws.run("Iexplore web.page.com?pageing.txt",1,true)

with your help I changed it to:

 set oIE = CreateObject("InternetExplorer.Application")
 With oIE
      .FullScreen = False
      .ToolBar = True
      .RegisterAsDropTarget = False
      .Navigate(page&m&" => "&vr)
      While .Busy
           WScript.Sleep 100
      Wend
     .visible = False
     wscript.sleep 2000
 oie.quit

and this resolved my problem.  Again I thank everyone.

Jesse



Quote:
> Done externally with internetexplorer.application, use the quit method:
example:

> ie = createobject("internetexplorer.application")
> yadd-yadda with ie...

> ie.quit




Quote:
> : ixna, I was thinking client side browser scripting.  If you have access
to
> : the page you could add that to the source and it would close the window.
> :
> : How are you opening the browser?  If you're opening the file by creating
an
> : IE object, you should be able to use the .Close method... but I could be
> : wrong.  I look.
> :
> : -K
> :


> : > Try:
> : >     <SCRIPT LANGUAGE="VBScript">
> : >         Window.Close
> : >     </SCRIPT>


> : > > I'm writting a script to check for viruses on my network and page me
> : > > using web-based paging.  My problem is I open iexplorer and send the
> : > > page, but iexplorer doesn't close.  How do I close IE immediately
> : > > afterwards.
> : > >
> : > > thanks in advance,
> : > >
> : > > Jesse Mosley
> : >
> : >
> :
> :



Wed, 01 Sep 2004 22:16:52 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. IExplorer Content Advisor using VBScript

2. Using Windows Media Player in IExplorer

3. IExplorer size is increasing when page is refreshed in ie5.5

4. dde and iexplorer

5. Browse a postscript file from IExplorer

6. Printer Object from IExplorer

7. Can JScript disable sound events in IExplorer ???

8. Q: Analog of DoEvents in iexplorer's VBScript

9. The bad IExplorer does not script

10. DDE interface with Iexplorer

11. VBS Newbie Question: WScript IExplorer

12. Bug In IExplorer

 

 
Powered by phpBB® Forum Software