Important alert: (current site time 7/15/2013 11:57:59 PM EDT)
 

winzip icon

Jasons quick calendar

Email
Submitted on: 10/12/2000 3:56:07 PM
By: RObot X5  
Level: Advanced
User Rating: By 16 Users
Compatibility: ASP (Active Server Pages), HTML, VbScript (browser/client side)
Views: 61102
author picture
(About the author)
 
     This is an example of a real time date checker / date picker / open other window form. With lots of parameters passing examples Using a mix of asp, vbscript, and java.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

10/12/2000 4:24:29 PMRObot X5

Hay all what's up I think you will like my code. Comments are cool so give it up!
(If this comment was disrespectful, please report it.)

 
10/16/2000 1:25:11 AMjacky

GOOd job!! I Like This Code
Thank You
(If this comment was disrespectful, please report it.)

 
10/17/2000 9:52:10 AMTim2

Great Looking App! Is there any way to control the range of dates available? I'd like to make the calendar only valid from 1 Oct 2000 - 30 Sept 2000?
(If this comment was disrespectful, please report it.)

 
10/17/2000 11:04:50 AMRObot X5

on JasonQuickCalendar.asp change to this will remove the date dropdowns on the form by doing this you can show one month at a time and then you can add your own dropdown if you want. Limiting from what ever time you want then recall the JasonQuickCalendar.asp that would also do what you want. you can also mess around with the other Parameters. there are lots of features to the calendar control. but I don't think limiting is one of them but I am not positive thanks for checking out my code. if you could please vote for me. I hope this helps.
(If this comment was disrespectful, please report it.)

 
10/20/2000 9:51:06 AMChris

Great code, but it doesn't works with Netscape...
(If this comment was disrespectful, please report it.)

 
10/20/2000 10:20:46 AMRObot X5

yep sorry no love for netscape yet.....
but i netscape should egnore it.
(If this comment was disrespectful, please report it.)

 
10/31/2000 7:52:41 AMRusty

Hi,
The popup works on my local PWS server in a network
environment but when other users on the network
click the calendar - nothing happens??
Any suggestions?
(If this comment was disrespectful, please report it.)

 
10/31/2000 1:07:06 PMRObot X5

in this version this only works in ie because I am using client side vbscripting but Netscape and other browsers will ignore it (nothing happens)
the other reason this is happing is in the example I did not put a location in the form information so when you it submit in Netscape it will not go anywhere also I plan on adding to check browser type so you can hide the calendar button.
if you want you can check for ie and then " if then " out all the code that just applies to ie so you can still have in netscape.
sorry
keep looking for the next version
Jason (R0Bot x5)

(If this comment was disrespectful, please report it.)

 
11/27/2000 10:02:06 PMDaniel

the actual error is
object does not support this property
or method.

it is right at the
document.all.calendar1.value
(If this comment was disrespectful, please report it.)

 
11/28/2000 1:15:45 PMDaniel

Works fine on mine but when other users try to access it it says there is a script error. All users IE on an intranet
(If this comment was disrespectful, please report it.)

 
12/21/2000 11:35:01 AMMiker

If Calendar is NOT on a workstation:

Thank you for your assistance...
One of the other workstations that I tried this calendar on did not have the calendar object and as per your expertise I did the following...

1) added the file mscal.ocx to the location - http://servername/sharename/directory

2) looked up the properties for the mscal.ocx file and got the version number off the Version tab

3) added to the OBJECT tag : codebase=
(If this comment was disrespectful, please report it.)

 
12/21/2000 11:36:48 AMMiker

Reached the limit of Feedback :

3) added to the OBJECT tag : codebase="http://servername/sharename/directory/mscal.ocx#version=9.0.0.3620"

And
VOILA...if a workstation doesn't have the Calendar object, the page loads it.

Oh, the mscal.ocx file can be found in x:\windows\system

Thanks again.

(If this comment was disrespectful, please report it.)

 
2/4/2001 6:46:38 AMSoren

What do I do about the script error in the line "document.all.calendar1.value" object does not support method or property?
(If this comment was disrespectful, please report it.)

 
2/21/2001 8:22:26 AMSven

Great toy but I need the time as well... It does not have to be in the same application ....It can be a seperate thing.

Can You make a time picker that works with an analog clock in asp for web pages . Just like the calender
(If this comment was disrespectful, please report it.)

 
7/11/2001 7:22:35 PMGustavo

What should I do if I need two date pickers in the same form. How can I pass the information about the textbox that called the datepicker?
(If this comment was disrespectful, please report it.)

 
5/30/2002 1:04:23 PMAddams

We are running IE 6 on an intranet and about 1/3 of our machines are receiving and error message of: The ActiveX control on this page is not safe. Any ideas on how to make this control safe? We have changed browser security settings on most machines, some it works, some it doesn't. Any ideas? Thanks for your time.
Addams
(If this comment was disrespectful, please report it.)

 
5/31/2002 8:30:31 AMRObot X5

hello

thanks for the comment.....

as for making it safe.....
well unfortunaly microsoft made this control and it is standerd on your computer. what happends is ie regulates what is good and bad by your security settings if they are realy high then you will not be alowed to do annything ..... sorry but lowering your security is what you got to do.

it is a microsoft thing...
Jason Sanders
www.jasonsanders.com
(If this comment was disrespectful, please report it.)

 
12/13/2002 2:43:22 PM

This code is good. But how can I remove the Web Page Dialog and http address and local intranet at the bottom of the dialog
(If this comment was disrespectful, please report it.)

 
12/13/2002 2:46:30 PM

Thanks for this code. But how can I remove the Web Page Dialog and http address and local intranet at the bottom of the dialog
(If this comment was disrespectful, please report it.)

 
9/5/2003 8:42:30 AM

I am trying to use your calendar in an intranet environment using IE5 (5.00.3700.1000) SP4.
Everything works OK until I select Update Date. I get the following error:
IEXPLORER.exe has generated errors and will be closed by Windows. You will need to restart the program.

Your program works OK on my home machine that I used to develope the appliation.
(If this comment was disrespectful, please report it.)

 
11/6/2003 2:40:55 AM

How can I output the date to dd/mm/yyyy format instead? Tried changing the formatdatetime( , X) to various option but it follow the client PC regional setting. Is there a way to make sure all client will follow server setting?
Thanks!
(If this comment was disrespectful, please report it.)

 
1/7/2004 11:40:00 AM

I tried putting the ActiveX on my server and adding codebase="http..." to the object tag but when I try to open the page I get the error message "Your current security settings prohibit running ActiveX controls on this page". Any ideas?
(If this comment was disrespectful, please report it.)

 
6/28/2004 5:52:49 PM

I like your calendar. I have downloaded the code. (1)I need to set it up as a pop up
(If this comment was disrespectful, please report it.)

 
10/18/2005 2:44:05 AMMichal

Dear Sir.
Please help me,
I can't to opereting this calendar.
(Jasonws Quick Calendar Sample form)

I have Internet-explorer v-6.0.2900
O.system: Windows-xp

The error that give me:
"Internet-Explorer encounter in the problem broadly certain,
therefore close
The enlargement down bow action when happened problem this:
File:
MSCAL.OCK
Company name(not real):
Microsoft Corporation.
Description:
Microsoft Calendar Control "

Can you help me please :
My ICQ : 9904336
Thank You,
Michal
(If this comment was disrespectful, please report it.)

 
9/17/2007 3:14:34 AMmeena sharma

I am using code to generate new date as well as to update the saved date. But the functionaly is not active for firefox. Pls tell me how to activate this for firefax too. or do you have any other code to generate the same with asp script. Pls reply ASAP.

Regards.
(If this comment was disrespectful, please report it.)

 
10/7/2008 12:54:48 AMwutt_mfg

Thank you very much. I interest sample code.
(If this comment was disrespectful, please report it.)

 
4/11/2011 5:22:27 AMfatinot

How can I output the date to dd/mm/yyyy format instead? Tried changing the formatdatetime( , X) to various option but it follow the client PC regional setting. Is there a way to make sure all client will follow server setting?
Thanks!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.