By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,310 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,310 IT Pros & Developers. It's quick & easy.

How do I get the object library activated to use ocxCalender

P: 2
Private Sub Date_Identified_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
ocxCalendar.Visible = True
ocxcalander.SetFocus

If Not IsNull(cboDateIdentified.Value) Then
ocxCalendar.Value = cboDateIdentified.Value
Else
ocxCalendar.Value = Date

End If

End Sub

It stipulates run-time error 424 object required. I looked at the reference list in VB tools reference, bu do not know which one it is. I am going to use this also on a access 2003 and 2007 machine. One machine is XP and the other Vista.

Sorry for being Ignorant but I do not know how to fix it.
Attached Files
File Type: zip Captured Actions.zip (25.9 KB, 40 views)
Aug 11 '09 #1
Share this Question
Share on Google+
2 Replies


missinglinq
Expert 2.5K+
P: 3,532
It would probably help if you actually placed the a copy of the calendar control on your form before you try to manipulate it! You have no oxcCalendar on your form!

Welcome to Bytes!

Linq ;0)>
Aug 11 '09 #2

P: 2
Thanks that is why I am asking for help. I used the following www.fontstuff.com/access/acctut09.htm
Aug 11 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.