Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 22nd, 2004, 10:08 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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.
Reply With Quote
  #2 (permalink)  
Old June 22nd, 2004, 10:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #3 (permalink)  
Old June 22nd, 2004, 11:09 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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
Reply With Quote
  #4 (permalink)  
Old June 22nd, 2004, 11:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #5 (permalink)  
Old June 22nd, 2004, 11:18 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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
Reply With Quote
  #6 (permalink)  
Old June 22nd, 2004, 11:20 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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
Reply With Quote
  #7 (permalink)  
Old June 22nd, 2004, 11:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #8 (permalink)  
Old June 22nd, 2004, 11:38 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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
Reply With Quote
  #9 (permalink)  
Old June 23rd, 2004, 04:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #10 (permalink)  
Old June 23rd, 2004, 07:32 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:55 AM.


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