Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - six day work week
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

six day work week

 Post Reply Post Reply
Author
Message
LarryInCanada View Drop Down
Newbie
Newbie


Joined: 28 April 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote LarryInCanada Quote  Post ReplyReply Direct Link To This Post Topic: six day work week
    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.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2009 at 11:50am
Use WorkWeek mode and set your working days - it will skip no needed day
Back to Top
LarryInCanada View Drop Down
Newbie
Newbie


Joined: 28 April 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote LarryInCanada Quote  Post ReplyReply Direct Link To This Post 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 :(
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 7:45pm
Look in the code of VB Calendar sample frmSettings - it do the job - just follow it
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.