Alert System
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.
View RepliesAm 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.
View RepliesI am currently developing a final year project which is a web based
tracking system tracking exam questions. I am using IIS as the
server, MS access for the database, and ASP with VBScript for the
scripting side of things.
One of the things I want to do would be to e-mail a user/moderator
whenever a exam question is edited/completed/updated. does anyone have
any previous expierence in this? i don't even know where to start.
What is the asp code variable for System Date and System Time? Are they built-in system variables, or is there some code involved to return the values?
View Replies View RelatedI 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 want to show an alert("message") in the new window that is opend after I did a redirect:for example (that doesn't work):
Response.Write(" <script type=""text/javascript""> ")
Response.Write(" window.location.href=""Scenario.asp""; ")
Response.Write(" window.alert(""Scenario saved!""); ")
Response.Write(" </script> ")
Remember that I write in server-side.
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.
Response.Write("<script>")
Response.Write("alert (""Hello"");")
response.write("</script>")
It just goto Response.redirect "OS_addnew.asp"
The following is my complete code:
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?
View Replies View Relatedi 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.
View Replies View RelatedHow 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
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:
View Replies View RelatedThis 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 want to show an alert("message") in the new window that is opend after I do a redirect:
for example (that doesn't work):
Response.Write(" <script type=""text/javascript""> ")
Response.Write(" window.location.href=""Scenario.asp""; ")
Response.Write(" window.alert(""Scenario saved!""); ")
Response.Write(" </script> ")
Remember that I write in server-side.
I have following code in the javascript function
alert("Please enter all product");
My manager wants the alert message to be in red and bold,I tried this,
mystring = " If possible, we would like to get one survey for each product area";
mystring.fontcolor('red');
mystring.fontsize(20);
alert(mystring);
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 have a Javascript alert as below.
alert('Please enter Todays Date');
This works fine.
But I want an apostrophy after the y in Todays. Should be
Today's.
Can I do this in Javascript?
my page uses a javascript function which alerts users like this:
alert("An alert message");
how do I rename the message box in which this appears?
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?
View Replies View RelatedI 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
ok when the user clicks submit on my form it automatically deletes the record and returns to the main page..
i need an alert that appears on clicking of the submit button..
it does not need to have any rules on what has been entered.. it simply appears when the submit button is clicked..
it will be something like :
'Are you sure you want to delete this record, this operation is undoable'
and it has a yes button (which if clicked proceeds to the page the form declares)
and a no button, which if clicked just stays on the page how it is:
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've created a system DSN called 'accessDSN' for a MS Access DB.
I get an error when running the following.
Code :
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "accessDSN"
sqlString = "INSERT INTO Products(product_name,product_price) values('Gift Basket',34.54)"
Con.Execute sqlString
Con.Close
%>
Error :
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/asp/l52.asp, line 5
Since details like database server, login, database etc is stored inside the
DSN do I really need to specify the login while using DSN
My VB programs works without login id but not my ASP programs..
I want to stick with VB on this project. The only problem I have with this is that I might have a problem with printing. The POS system is designed on a small 10-15 computer networked system. They are all good systems so nonone say that it may be a little to intensive for the systems.
Now once the system runs through basic checks: change exchange, enough money to pay, and other smaller features then it has to print the invoice. Now we have a small Epson Thermol (prints like Lazer) printer. How would my VB application send that information to the printer?
Microsoft, in one of its "Help & Support" pages on ADO, says that a System DSN is three times faster than a File DSN. I find that a bit odd for the simple reason that won't it be faster for a script to access a file to get info about the database source than access the same info from the registry which will be the case if a System DSN is used
instead of a File DSN?
I wanna build an email/messaging system whereby all members of a portal can send messsages to each other (internally). An example of this application would be the system available in www.friendster.com whereby all friendster members can message each other. Each member has his/her own inbox, trash, sent messages and so on. Can anyone help me with this? I would be eternally grateful
Secondly, i need help with building a forum as well. So far i'm having difficulties getting one that is easily customisable.
I have been working on a simple eLeave System. I would like to get more advice of my db design. Basically, I have 2 tables here: user and leave_application. I will just put the relevant field needed for leave calculation.
user: date_employment, type, t_annual_entitled, t_annual_actual_taken, t_annual_balance
leave_application: date_leave_from, date_leave_to
There are 2 values under type, E - Executive and NE - Non-Executive.
Example
- If type = E, t_annual = 22
- If date_employment = 7 July 2005, t_workingdays = 187
- So, my formula for t_annual_entitled = (22 * 187) / 365
So, is my db design and my formula okay for this system? Any other better ways?
Created a basic ASP/ADO/Access 2000 Newsletter system using JMail.
Basically client has 300+ subscribers and wants to send 1 newsletter email
to them all every 1 - 2 months.
Missed my client's call to say it wasn't working, but having checked with my
ISP (FastHosts), they have some kind of embargo on the amount of emails that
can be sent every 10 seconds.
how to create a simple rating system just like the ones on Amazon.com? I found a link which i tried and i think it is flawed. No attemp was made to provide the source files
View Replies View RelatedAt the beginning of the month,the whole DB server is down because of the change and upload of tables. So naturally the ASP pages would show errors.
I have 1 dbconnect.asp page which gives the db connection information.
How can I display a status.html based on the DB's down period?