Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2004, 10:08 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default how do I close a web browser using vb script?

Guys any ideas??

Adz - The World is not enough
__________________
Adz - Learning The J2EE Ways.
 
Old June 22nd, 2004, 10:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you take a look at this page?

Cheers!

_________________________
-Vijay G
Strive for Perfection
 
Old June 22nd, 2004, 11:09 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

hiya,

thanks for the link, but it does not seem to work??



Adz - The World is not enough
 
Old June 22nd, 2004, 11:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Does the link not open or the page doesn't work as expected?

What errors you see if any?

_________________________
-Vijay G
Strive for Perfection
 
Old June 22nd, 2004, 11:18 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

I get a: -

The page cannot be found

error

Adz - The World is not enough
 
Old June 22nd, 2004, 11:20 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

I can access: -

http://www.internet-nexus.com

but nothing else after this URL

Adz - The World is not enough
 
Old June 22nd, 2004, 11:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think that was some interpretation problem here while posting that link. Sorry about that.

Can you see if this still gives you that error?

http://www.internet-nexus.com/books/...e/05_close.htm

The VBSCRIPT was replaced with %20 in the previous link posted. When I edit that link in my previous post, it contains the correct URL, but when I click on the [u]PAGE</u> link, it has %20 in the URL. Not sure what goes wrong, may be should write to the forum administrator to see if something goes wrong with that link.

Cheers!

_________________________
-Vijay G
Strive for Perfection
 
Old June 22nd, 2004, 11:38 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

thanyou, yes that worked. Do you know of a way that you can redirect a user to their home page stated in their browser options?

Adz - The World is not enough
 
Old June 23rd, 2004, 04:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I am not sure what you mean by "home page stated in their browser options"

_________________________
-Vijay G
Strive for Perfection
 
Old June 23rd, 2004, 07:32 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

I have tried this code to close a browser. I have forced the method to execute when the browser is loaded. The problem is that the user is prompted as to whether they want to close the browser or not, but I want it to automatically close. Any ideas???

Adz - The World is not enough





Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser close when screen saver close Rehanrana Pro VB 6 1 April 7th, 2008 03:09 AM
How to close browser window? rupen Javascript How-To 14 July 31st, 2006 10:52 AM
handling script errors using vb web browser state Beginning VB 6 3 January 19th, 2006 09:01 AM
trying to close browser in a button taliosfalcon ASP.NET 1.0 and 1.1 Basics 1 February 7th, 2005 12:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.