Print Page | Close Window

six day work week

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=14532
Printed Date: 06 October 2024 at 9:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: six day work week
Posted By: LarryInCanada
Subject: six day work week
Date Posted: 15 June 2009 at 11:27am
I have built a pretty decent looking calendar with CalendarPro, but I have one problem left.  My client has a 6 day work week, so I have no need to show Sunday on my calendar, and frankly it just sucks up space, so I'd rather remove it, but for th elife of me I cannot figure out how to do that.  I am working in Access 2007, so I am using VB6 (VBA)
 
Thanks for any help you can offer.



Replies:
Posted By: mdoubson
Date Posted: 17 June 2009 at 11:50am
Use WorkWeek mode and set your working days - it will skip no needed day

-------------
Mark Doubson, Ph.D.


Posted By: LarryInCanada
Date Posted: 09 July 2009 at 1:34am
Ok, I give up!  I have been trying and trying and reviewing posts and the user documentation, and I simply cannot figure out how to set the work week mask... please somebody help me out, I'm dying here :(


Posted By: mdoubson
Date Posted: 12 July 2009 at 7:45pm
Look in the code of VB Calendar sample frmSettings - it do the job - just follow it


-------------
Mark Doubson, Ph.D.


Posted By: SuperMario
Date Posted: 12 July 2009 at 7:47pm
CalendarControl.Options.WorkWeekMask = xtpCalendarDayTuesday Or xtpCalendarDayWednesday
 
CalendarControl.Options.WorkDayStartTime = TimeValue(cmbStartTime.Text)
CalendarControl.Options.WorkDayEndTime = TimeValue(cmbEndTime.Text)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net