Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / November 2004

Tip: Looking for answers? Try searching our database.

MonthView + GetdayBold Event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoff - 23 Nov 2004 09:39 GMT
I am trying to use the Monthview Control on an Access form. When I run the
GetDayBold event I get the following error;

"The expression GetDayBold" you entered as the event property setting
produced the following error:Visual Basic can't convert the data type of one
of the arguments you entered"

I have seen the MonthView control GetdayBold event work on another machine
running Access 2003, so I am wondering if it is related to some supporting
file.

I would appreciate some assistance with this
Stephen Lebans - 23 Nov 2004 20:57 GMT
I do not believe the standard MonthView control supports the
BoldDayState property.
Here is the same control but a non ActiveX version that does expose this
property.
http://www.lebans.com/monthcalendar.htm
A97MonthCalendar.zip is an A97 database containing a Class that wraps
the Microsoft Month Calendar Common Control in an easy to use interface.

A2K Version here: MonthCalendar Access 2000.zip

This is a completely API generated Month Calendar derived directly from
the Common Control DLL.

What this means is that there are no distribution or versioning issues
as there are if you use the ActiveX Month Calendar control. In other
words this is not an ActiveX control!

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> I am trying to use the Monthview Control on an Access form. When I run the
> GetDayBold event I get the following error;
[quoted text clipped - 8 lines]
>
> I would appreciate some assistance with this
Geoff - 24 Nov 2004 01:47 GMT
Thanks Stephen,

I have downloaded the Access 2000 version of your monthcalendar and ran it
on a form.

The MonthView ActiveX control has a "getdaybold" event. So when the calendar
loads or is tabbed to the next "group" of months, the "getdaybold" event
fires and this allows one to loop all dates in view and set the bold state to
true.

I am developing a newspaper publication managment software and I want to
show the calendar with the publication dates in bold.

Can your calendar do this ?


> I do not believe the standard MonthView control supports the
> BoldDayState property.
[quoted text clipped - 37 lines]
> >
> > I would appreciate some assistance with this
Stephen Lebans - 24 Nov 2004 03:28 GMT
I did not realize the MonthView Calendar exposed this feature. A quick
search on GoogleGroups yielded only a few threads but there was some
sample code for setting this property. Also if you use the Object
Browser to look in the MSCommCtl libray you can find the MonthCiew class
and examine its interface.

As I stated my Calendar does expose a DayState property. Look in the
source code for the prop and sample code for how to set it in the
Class's Initialize event.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> Thanks Stephen,
>
[quoted text clipped - 52 lines]
> > >
> > > I would appreciate some assistance with this
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.