Results 1 to 2 of 2

Thread: Closing Browser in VB Script

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 1999
    Location
    seattle, wa
    Posts
    23

    Closing Browser in VB Script

    Every time I try to close the Browser withing VB Script ("SELF.CLOSE") , IE prompts user for verification that It is ok to close it. Is there any way to get around the user verification?

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    i actually posted this yesterday... same applies for vbscript...

    that "your browser is trying to close this window" message is because IE added a security feature to prevent javascript from closing your browser without your permission... if the javascript actually created the window.. then it can destroy it.. but if the user opened IE and went to the page... IE will prompt the user if they want to close it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width