Closing a browser without a popup..

This is a discussion on "Closing a browser without a popup.." within the JavaScript Forum section. This forum, and the thread "Closing a browser without a popup.. are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 22nd, 2007, 17:42
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
Closing a browser without a popup..

Hello people,

I have a problem that I am working on and here it is.

We have a program that we are writing in PB8 and it calls an Internet Explorer window to run some ASP snippetts. We have the browser hidden in the background where the user can't see it but when I do a me.close I get a pop-up that says somthing about a program is trying to close your browser do you want to close? yes/no"

Any Idea how I can keep this message from popping up?

Thanks
Reply With Quote

  #2 (permalink)  
Old Mar 23rd, 2007, 01:28
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Closing a browser without a popup..

http://irt.org/script/452.htm

This help?
Reply With Quote
  #3 (permalink)  
Old Mar 23rd, 2007, 17:29
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
Re: Closing a browser without a popup..

Well i appreciate the reply but I don't think that's exactly what I was looking for although it does work. I did however finally mange to find something on google, and since I had this problem I know someone else might too...

Here's the solution to my problem
Code: Select all
<%
dim xyz
xyz = "ok" 
if xyz = "ok" then 
%> 
<script type="text/javascript"> 
window.opener="something"; 
window.close(); 
</script> 
<% 
end if 
%>
Now I don't understand why that this xyz variable in VBScripted (ASP) works, but it does. So if anyone can explain that to me via PM I would appreciate it.
Reply With Quote
  #4 (permalink)  
Old Mar 23rd, 2007, 23:31
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Closing a browser without a popup..

That's odd. Oh well, the most important thing is that it works.
Reply With Quote
Reply

Tags
browser close, no pop up

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Closing Div Popup Window Monie JavaScript Forum 4 Dec 13th, 2007 06:42
Trouble closing gaps Phixon Web Page Design 2 Sep 17th, 2007 14:00
closing an application kal JavaScript Forum 4 Dec 13th, 2005 13:20
closing a window. Hatsu JavaScript Forum 11 Nov 30th, 2003 19:41


All times are GMT. The time now is 10:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43