Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

using dateclick in monthvirew in vb6

Posted on 2006-11-17
2
Medium Priority
?
205 Views
Last Modified: 2008-02-01
Everytime I try to use monthview_ dateclick(index as integer, datepicked as date) my program won't compile and it tells me the format of the procedure is incorrect even though in msdn this is exactly the procedure format given. Please can anyone tell me what the problem is?I have a version working perfectly wih the dtpicker but when used on anther machine the dates do not show in th calender. Any ideas?
david jenkins
0
Comment
Question by:jenkinsdjj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Expert Comment

by:danaseaman
ID: 17967172
monthview_ dateclick(index as integer, datepicked as date) indicates that you are using a control array. If there is only one control without an index than the declare would be monthview_ dateclick(datepicked as date).
Do you have more than one MonthView on the Form?
0
 
LVL 22

Accepted Solution

by:
danaseaman earned 600 total points
ID: 17967186
Also it appears you are missing the Byval. The declare here is?
Private Sub MonthView1_DateClick(Index As Integer, ByVal DateClicked As Date)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question