Block Closing The Window

if i run my project IE will open and output willl be shown. my need is u can able to see three butons(minimize,maximize,close) in yhe right corner of the IE window, me need is that should not be appear so only screen will be displayed.why i need this requirement is user cannot close teh window using any method, one method is this pressing this close button, i need to block this

my second need is if try to use alt+f4 to close the window i shouldn't close for ten minutes,after ten minutes he can use alt+ f4 to close so please give me coding for this also

third way is if he tries to use windows+d or windows+m or alt+tab it should not work,i need to block this way also

View Replies


ADVERTISEMENT

Closing Pop Up Window

In my code I am opening a new window through javascript which opens upon submitting a form. The form collects certain information from user ; and this information is used to create a file.This file is created after the page is submitted and just after the file is created I want to destroy the window and then give a link on the page to download the file.

Is there any way to do this. The problem I faced was upon submitting the page I loose the window object that is returned by window.open method.

View Replies View Related

Closing Window When The Jobs Done

How can I close the window (DownloadCSV.asp) automatically when this has asp page (GenerateCSV.asp) has finished loading. The asp page, GenerateCSV.asp is called in the onLoad event when it has finished it pops up the download dialog box, when that happens I want the page that calls it to close, how do I do this??? Code:

View Replies View Related

Closing Child Window

I have a submit button which opens a child window,and submit parent window to itself and then begins some processing on parent window. On completion there appears close button on parent page.

Can anybody suggest me how to close the child window on the click of close button on parent window and then redirect to other page?

View Replies View Related

Opening And Closing A Window

When i select a order ,a new window opens up .I select the name from the new window .This window also has a submit button(there is a insert statement which gets activated on submit).

wht i want to do is when i hit submit ,the window should get closed and should be redirected to the previous page from where i actually got this window i.e by clicking on the order at the start. how should i attain this?

View Replies View Related

How To Pass Values From Parent Window To Popup Window In Server Side?

1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.

I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:

View Replies View Related

How To Return Selected Value In One Window To A Main Window

I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??

View Replies View Related

Keep Value's Of Opener Window When Return From A Popup Window

I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.

The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.

Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:

View Replies View Related

Can You Block A URL?

I need to block a URL from printing at the bottom of the page from a
website. Is there any code that can do that? I know I can make it
into a PDF on the fly and that will elminate alot of hassle, but is
there any easier way?

View Replies View Related

For Each Block

I am tryong to iterate within a folder collection and am having problems getting to the next iteration when my if statement proves true:
For Each folder in foldercollection

if instr(lcase(folder.name),"_vti") = 0 then
next
else if instr(lcase(folder.name),"_vti") = -1 then
util.AddScopeToQuery Q, sPath & "/" & folder.name , "SHALLOW"
AddSubsToQuery Q, sPath & "/" & folder.name
end if
next

I get an error stating unexpedted next, but am not sure how to jump to the next item.

View Replies View Related

Block Of ASP

I have a block of ASP code (enclosed in <% .. %>).
How can I call that piece of code from another piece of similar code?
And can the code be in any order on the page for it to work?

View Replies View Related

How To Block The Keyboard

i want to disable the keybord because i am making a quiz test engin. when the user
gets to the test page he will be only using the mouse and will not need the keyboard
at all.

i have a code copied from somewhere and it uses vb code. i need to know if its
possible to do that in asp using vbscript or javascript?

View Replies View Related

Block MM_editAction

The first IF statement and redirect is what I need. It's the Else statement:

If Len(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) > 0 Then
If UCase(Request.Form(NAME_OF_CAPTCHA_TEXTBOX)) = UCase(Session("CAPTCHA")) Then
Response.Redirect("../Profile1.asp")
Else
Don't allow the form to upload to the db & m_sUserResult = "You typed " & Request.Form(NAME_OF_CAPTCHA_TEXTBOX) & " which was incorrect!"
End If
End If

I can not figure out how to block the MM_editAction (form upload) if the first "if" statement is false.

View Replies View Related

Recordset Closing

today i got an error from my site

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
it got error when i tried to update.then i checked all my files which has database stuff.i did not see any close statement for recordset & connection.we used DSN for connection.this site was build my someother firm.when i asked to my boss he told me they kept connection open purposely becoz they had uesd connection pooling.they said using connection pooling can utilize less memory resource.should i close each & every open recordset & connection

View Replies View Related

Closing Recordsets

I realize that sometimes you can use recordsets that were never opened (like when you're adding a record to a db) and I realize that you cannot close a recordset such as this.

But for the ones that ARE open, should they be closed first and then set to nothing?

Also,I'm trying to create code that checks if a recordset is open. If so, I wnat to close it. How would I do that?

View Replies View Related

Closing Of Connection

for readability purposes,I plan to standardize all my asp pages to always open connection at the beginning of the page and close the connection at the end of the page

If in the middle of the page I issued redirection,does this mean the connection will not be closed?

View Replies View Related

Self Closing Windows

I have a page on a server (not under my control) that can't have scheduled tasks running on it and I need to hit the page once a day. I am currently doing this through a .bat file on our server which runs iexplore.exe and hits the page. Is there anyway I can get this window to close? either though the .asp page or in the .bat file.

This is becoming more of a problem as there is the likelyhood that within a month or so, I may have more pages requiring this same operation and it isn't very good to have to log on to the server each morning just to close these windows.

View Replies View Related

Closing ADO Recordsets

I have in the back of my mind and knowing the importance of using close(rsname) to close a recordset once it has been finished with, is whether any recordsets have been left open accidentally.

Is there, therefore, a way of listing all open recordsets, without specifiying the name of the recordset? ie. "For each key in recordset". Do recordsets get closed after a period of non-use?

View Replies View Related

Closing DSN Connection

I just want to close my dsn connection. I cannot seem to find it. is it Set conn = Nothing?

View Replies View Related

Closing Browser

Is there anyway to close a browser without getting the "Do you want to close this window" pop up? I intend to launch a browser using the windows scheduler. And auto close it itself. I tried using self.close() ...but got that pop up confirmation. Anyway?

View Replies View Related

Closing Connections

What's the proper syntax for determining if a connection is open before closing it?

View Replies View Related

Closing Page

I have a button that goes to a new page - if a person clicks on the X in the right hand corner - I want it to go back to the previous page. How do I set this - I can't set the target to blank.

View Replies View Related

Closing Unwanted Pop Ups

My website has been targetted by a web scam. They have sent out an email, which looks as if it's come from me (the email tells them that they must update their information). There is a link in the email which, when clicked, opens up 2 windows: my site in the background and a small window on top with form. This forms asks the customer to submit sensitive information. Is there any script I can use to close down other windows when my site is opened? I can't think of any other quick solution at the moment.

View Replies View Related

Closing An ASP Application

how to close an asp application. What is the ASP code i should use to close the browser Is it something like "window.close".

View Replies View Related

How To Block Email Addresses

I want to block certain email addresses like,(See the MailTo Section, I don't want the Sandra email address), through my online forms. I've been receiving spam from people using the forms. My code below is ASP. The code basically sends the form data to 3 email addresses and send the visitor who filled out the form an HTML style email message as confirmation. I added an IF THEN statement (Look at the MAIL TO) for the unwanted email address thinking it would do the trick but it doesn't block or send the email to the unwanted email address. Here's the beginning of my code. Any help would be greatly appreciated. NOTE: I replaced the wanted email addresses with phony names because they are private.

<%
If request.form("Email")="" then
response.write "<p><br><center><font face='arial' size=3>"
response.write "<b>Please don't forget to enter your"
response.write " Email address!</b></font>"
response.write "<form>"
response.write "<input type=""button"" value=""Return to Form"""
response.write " onclick=history.go(-1)></form>"

Else ........

View Replies View Related

Need To Block Access To A Page...

I am designing an app with multiple users. User 1 logs in and navigates to a Page 1 where a page template is modified. When modifications are over User 1 saves the page and logs out of the system.

I need to block access to every other user to Page 1 until User 1 "releases" the page.
At the moment I am using a field on my Access DB called locked that I set when any user enters Page 1, and upon saving locked field is cleared... Is there a more efficient way to do this?

View Replies View Related

Block Or Redirect An IP Address

Can I do this if I know the person's IP address?

View Replies View Related

Vb Script Block Execute

I have a asp page and keep submit to itself and I use a hidden field to
track the step. But I found in each step, sometime the block is being
executed twiece. How to debug this and fix?

View Replies View Related

Block Access To Website

is there any way to block access website to particular country internet users.

View Replies View Related

Block INTERNET EXPLORER

i am looking for to block INTERNET EXPLORER to doing its activity.how can i stop IE not to use back button OR like this way if someone want to go back from the certain page. can we show the any other IE generated messages.like page cannot be displayed etc

my basic requirement is not let the user to see his last page which he had submitted
can it be done?

View Replies View Related

Block User From Login

i've developed a application in asp i want to restrict the user to login more than one at the same time i mean if user is already login then if he try to login on another window at the same time the message should b displayed u r already login.

View Replies View Related

Block Spiders From Counter

in the past days my site counter (ASP) shows me a suspecious count number, is there a way to block spiders & crwalers from my counter?

View Replies View Related

Block Web Page Access

I use the windows 2003 server with IIS 6 and my web pages are created with ASP script.I am trying to block some web pages (not all) that is created only for internal users like an intraweb.To do this, how can i control it and how should i block to prevent access from external users.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved