aluenn
08-06-2004, 02:13 PM
Is it possible using the MS Calendar control to post information within the dates of a calendar? (i.e. how MS Outlook displays upcomming events and meeitngs)
I'm trying to figure out if it's a property setting or what. It seems like it shouldn't be that difficult.
If its not possible, any suggestions on other calendar compenents would be helpful.
Thanks!!
pikzel_R
08-06-2004, 05:25 PM
Is it possible using the MS Calendar control to post information within the dates of a calendar? (i.e. how MS Outlook displays upcomming events and meeitngs)
I'm trying to figure out if it's a property setting or what. It seems like it shouldn't be that difficult. If its not possible, any suggestions on other calendar compenents would be helpful.
Thanks!!
It wouldn't be that difficult if Microsoft had designed it that way. :whoops:
Unfortunately they did not.
So here's your options:
Option1:
If you actually have Outlook, you might be able to manipulate it to do what you want using VBA, but I don't know how (not a VBA person).
Option2:
Sub classing...
Option3:
Do up your own custom "Owner Drawn" calendar control...
http://www.codeguru.com/vb/controls/vb_othctrl/ocxcontrols/article.php/c1521/
Option 4:
We have a forum member named FlyGuy who really really likes demonstating that the MSFlexgrid control can do just about anything. In the forum's Code Library he posted an example of how to use the flexgrid control to make a calendar and I'm sure he'd help you modify the sample to turn it into an mini-Outlook calendar. Here's the sample:
http://www.xtremevbtalk.com/showpost.php?p=794390:
Option 5:
Use a third party control:
What I found was the "Calendar Manager" from Jazmine Components.The marketing spiel on their main page says:
"The CalendarManager component is a composite component that combines a TjzDayViewControl, TjzTaskViewControl, and TjzMultiMonths. These components work together to deliver a Microsoft Outlook calendar-like view"
http://www.jazmine.gotdns.com/jazminecomponents/Products.aspx?menuid=2
This calendar control has a "Outlook-ish" look from the calendar print screenshots:
http://www.multi-calendar.com/screenshot.htm
Here's one for free:
DayView OCX
http://www.handyarchive.com/Development/ActiveX/2935-DayView.html
Here's another one for free (with source code):
Description: "This ActiveX control attempts to duplicate the Day View of the Outlook 2002 Calendar"
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=45256&lngWId=1
aluenn
08-08-2004, 10:17 PM
Thanks a bunch for your help! I'll check those things out.