I store few pending task in Access or MS SQL and set the deadline to each item. While I am viewing the webpage, it will give message or alert with specific time. How can I do in ASP?
I have the following code which add a new record to database, after the record has been added. I want to prompt a message "Hello". But the following script does not promt.
I am using a form that has action = aspemail.asp I want to write code that will alert the user if not entered properly or at all their e-mail address, and another to alert to enter their contact phone number, or if they left a field empty.
one line in the asp file is : strEmailUser = request.form("email")
I have a list of events reading from an Access db. One field gives the total number of candidates that are allowed to apply and another gives the total that have currently applied. There's another field which will act as a flag. Eg if 50 are allowed to apply and 40 have applied then a message will appear saying "event nearly fully booked". At this point I want to send an email to the admin letting them know the course is nearly booked, how would I go about it?
i want to do something in ASP that is exactly same as alert for mail when we are using some messanger. Say for example when we are online on yahoo messanger, we get alerts for new mails.
How can I check if the file is an JPG within my form?? If the file is JPG then the submit button should be enable, if not the submit button should be disable
Am implementing an alert system that will notify users by mail of activity on a pre-defined date. What function or event can I use to achieve auto-execution of this alert on a specified date without human intervention.
I am not clear ... whether to use alert of javascript or messagebox of VBScript in ASP. But what i want is that when a user has some error i want to display a pop-up kind of a thing saying "you have not entered all the values" ... and when he click "ok" then he should be directed to the same page where he was enterign the values. I tried this but in my case i am just being redirected to the page ..and my message box in not being popped up! Code:
This question doesn't have anything to do with ASP, but I couldn't find any better place to ask it and i'm sure that if an answer exists someone here knows.
So, the question is :
When I use the alert function, a certain symbol(warning) appears. is it possible to change this icon and use another one?
i have a system setup where users enter their data (dates eg 2-7-1981) no i want a function where the databse will check the dates table and send an email to the admin when its 1 week from a date.
i am running ASP and an odbc access database
i can give you ftp access to my site (a test site its the same as the propper site) if you want to have ago .
In my Login.asp page i have some simple validations. The user is given alerts if they dont fill in their username or password field.
However the problem I have is this: If a user enters their username but not their password, using my current code they will get the correct alert BUT they have to re-type their username as the page is refreshed (i think). How can i modify the code so that after clicking 'Ok' on the alert pop up only the field with the erros has to be re-typed? Sample of my code:
i used macromedia 2004 mx, asp.net and access database to make a simple web application to keep track of the phone call messages recieved in my company. In the main page i have a dataset to display all records of the call that have not been acknowledged yet, the page refreshes everyone 1 min to display any new records added .
if there is a way to make a visual alert like a popup message or a window to open up to inform you that a new record was added instead looking all the time at the page to see if a new record pops up.
I need to write a function that will display an alert when the Submit button is pressed on a form IF a full stop, single quote or double quotation mark is used in any of the fields on that form.
This alert also needs to tell the user (if possible) in which field the offending symbol is located. I can provide field names if required, but I really just need to know how to set the function up.
I would like to achieve the equivalent of a client side javascript alert popup from server side code. Any suggestion how I can do this? How can I cause a beep at clientside from serverside code?
I have a site that currently has custom error messages enabled for all error messages, i.e. any error goes directly to error.asp etc. What I want to do however is have this error.asp email me with a fairly detailed error message outlining the problem that caused the error.
What is the best way of doing this? My server allows me to setup custom messages for any type of error but obviously to do this would be time consuming. Is there a way I can basically email myself an almost exact copy of the error message that I would get if I was viewing the page and the error happened to me?
For example, a 501.100 error can cover any number of error and whereas a message telling me that a person got a 501.100 at 12.43 on 31/5/2004 is ok it isn't very helpful. I want it to say:
501.100 at 12.43 on 31/5/2004 Error Type: Microsoft VBScript compilation (0x800A03F9) Expected 'Then' /kshs/cms/cmsDefault.asp, line 54, column 39
How can i send an alert message to the admin using asp?
here are the scenarios: 1st alert (Pending): if the status is OPEN 3 days before due date 2nd alert (Overdue): if the status is OPEN 3 days after due date
due_date field is being stored in the database when there's a pending or overdue, message will be displayed upon the logging in of the admin.
I'll admit my ASP skills are very rusty, and come seeking help.
I'm currently using a dictionary object to store a multi-dimensional array.
I want to pass this dictionary object to an object, which holds an array of dictionary objects.
However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.
I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification.
I've now built a simple VB COM object which uses the VC++ COM object internally.
My question is, assuming the ASP page which loads the object does not immediately exit, will the VB COM object be able to receive the events from the internal object?
We are using .net 1.1 on windows 2003 server. This is we are facing in our production server.
When we are doing the load testing we are getting the bellow error. While the load testing this error is not coming frequently. When we run 20 threads for 3 mins we are getting this error message 2 or 3 times. But this line of code is executed by all the threads. Code:
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use the recordset to loop thru the recordset, update values from the recordset and then update the database by passing parmeters to another stored procedure.
I would like to use the recordset object but can it be used to pass a parameter to a stored procedure? Do I need to use a command object to open the records instead in order to pass the parameter to a stored procedure?
A three-tier user authentication system was running without a problem for almost a year and now is suddenly dysfunctional. We don't know of any changes to any of the servers. It's quite maddening. The details:
1) We know the COM+ app is instanced on the COM+ server (Win 2000). The component graphic spins when CreateObject is called.
2) The proxy is installed on an IIS server (Win 2000) with delivers the interface, written in ASP, to the client PC.
3) These are the error messages displayed when a method of DAMS is called: Code:
I have one column in my access database named 'picture'. I uploaded the pictures in the database using OLE Object. Now I want to have a picture of an employe in my ASP form. It gives me an error. The page works without that code-line where picture is mentioned. Code:
I have an xml data that I want to store in a database.
I want the following fields 1. Account-id 2. order-number 3. first-name 4. last-name 5. address-line 6. address-line-2 7 city 8, state 9 postal-code 10 total-points-spent 11 the list of items that were purchased which are in the section item-redeemed
And this is the asp code that I use to move through the list. right now all I can get is the redemption top-level, but I cannot seem to go down to the subitems. Code:
I am creating an e-mail using the CDO object and using the AddAttachment method to attach a file from a URL. I am having a problem in that the file file attached is given a random name (something along the lines of ATXX412.pdf)
Does anyone know if it is possible to rename/assign a name to attached file before the e-mail is sent?
I am writing a function to take a recordset as parameter, and print a HTML Select element according to the record in the recordset. I would like to check if the input object a RecordSet before processing, how can i acheived that?