Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar Control 9.0

Status
Not open for further replies.

PatrickH

IS-IT--Management
Feb 28, 2000
1
US
Can someone tell me how to make this ActiveX control indicate today's date? I just want to plug it into my Intranet homepage to display the calendar and current date. No picking dates, scheduling, etc.<br>
<br>
Tnaks!
 
Initialize the value property to 'date', which has todays date. Otnerwise it maintains the design date. <p> <br><a href=mailto: > </a><br><a href= > </a><br>
 
I too am having this problem, could you elaborate on how to fix it.&nbsp;&nbsp;I typed 'date' in the value field, but it had no effect
 
I can't open my activex control on my intranet, anybody can help me out? i'm trying to use a calendar control too! please help me out, I have four days trying to open this thing...
 
I'm also have a problem with Calendar ActiveX 6.0. I tried the 'Date' solution, but it didn't work. Any ideas what needs to be done?
Thanks
 
MyCalendarControl.Today 'Update Calendar to today date

MyCalendarControl.Value=Date() 'Would be same above

Aivars



 
anyone haver a clue how to add text messages to the calendar. I need data specific to each date to be displayed inside the calendar. wdresdner@vablood.org
 
I found a very good example of the use of the Calendar control that works with IE 5 and above. It should fit the bill for anyone with an intranet that has control of the server.

The one issue that remains is that it gives a warning that the control is not script safe, but once responded to, does allow the functions to work.

Follow this link to see it, then view the source to see how it works. It makes use of the behavior resource which exists as a seperate file, you can download both for use in studying.

If you have trouble with following it or getting it, let me know via email at the following address: support@hgworks.com.

What I need help with is how to make the DTPicker control work within a Visual FoxPro v.6.0 environment. I can't seem to get the starting date value set for today's date. The control examples I've seen only illustrate how to use it as a data bound control. What I want is to use it to validate and accept user input for a date field to pass to a subsequent report query. Can somebody shed some light on this for me?
 
Aviars, I tried both ways you posted of setting the calendar to today's date. Neither has any effect.

Nor does setting these values in the Immediate pane in Break Mode.

The control's Value will only accept a literal date entered from Design Mode.

What am i doing wrong? I am using Access 2000 and Calendar Control 9.0

This used to work for me in Access 97.
 
ok, it simple. go into the coding of your calendar and write this line anywhere:

&quot;Name of your form&quot;.&quot;name of your calendar&quot;.today

thats all!
 
don't know if you've figures this yet...

If you use the OnLoad event and set the date ie

me.calendar.value = Date()

then it will set itself...

Doesn't work on Open Event

Maybe problem solved

Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top