PC Review


Reply
Thread Tools Rate Thread

MonthCalendar

 
 
Smurfman-MSDN
Guest
Posts: n/a
 
      16th Jan 2009
Using Visual Basic 2008 and the MonthCalendar Control

Is there a way to make the calendar advance a specified number of months at
a time.

For example I want to place one calendar on a form, and when the user
advances the calendar, it advances 3 months instead of one.

Thus I could effectively display Jan-->Apr-->Jul-->Oct thus limited the
user's selection of dates to dates with in those months only.

Another example, I would like to make the calendar advance 12 months at a
time, so I could display one monthcalendar on the form, and the user would
just advance 1 year at a time Jan 2009 --> Jan 2010 --> Jan 2011 and so forth.

How can I accomplish this?

Thanks
J
 
Reply With Quote
 
 
 
 
Zhi-Xin Ye [MSFT]
Guest
Posts: n/a
 
      19th Jan 2009
Hi Smurfman,

Thank you for using Microsoft Managed Newsgroup Service, I'm Zhi-Xin Ye,
it's my pleasure to work with you on this issue.

To advance a specified number of months at a time, you can specify a value
for the MonthCalendar.ScrollChange property . For example:

//Advance by 3 months at a time.
this.monthCalendar1.ScrollChange = 3;

//Advance by 1 year at a time.
this.monthCalendar1.ScrollChange = 12;

Please try my suggestion and let me know whether it makes sense to you.

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide

to you. Please feel free to let my manager know what you think of the level
of service provided. You can send feedback directly to my

manager at: (E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Smurfman-MSDN
Guest
Posts: n/a
 
      20th Jan 2009
Okay, I will try this today.

So suppose I want a MonthCalendar that is 1x3 but shows Jan 2009, Jan 2010,
and Jan 2011, and advanceing the calendar using the buttons would shift the
dates 12 months at a time - so that either the next set of 3 would be Jan
2012, Jan 2013, and Jan 2014 OR so that each woudl move to the left if
advancing, meaning that Jan 2009 would become Jan 2010, and Jan 2010 would
become Jan 2011, and Jan 2012 would become 2013.

Can I accomplish this?

Thanks
J

"Zhi-Xin Ye [MSFT]" wrote:

> Hi Smurfman,
>
> Thank you for using Microsoft Managed Newsgroup Service, I'm Zhi-Xin Ye,
> it's my pleasure to work with you on this issue.
>
> To advance a specified number of months at a time, you can specify a value
> for the MonthCalendar.ScrollChange property . For example:
>
> //Advance by 3 months at a time.
> this.monthCalendar1.ScrollChange = 3;
>
> //Advance by 1 year at a time.
> this.monthCalendar1.ScrollChange = 12;
>
> Please try my suggestion and let me know whether it makes sense to you.
>
> Best Regards,
> Zhi-Xin Ye
> Microsoft Managed Newsgroup Support Team
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide
>
> to you. Please feel free to let my manager know what you think of the level
> of service provided. You can send feedback directly to my
>
> manager at: (E-Mail Removed).
>
> ==================================================
> Get notification to my posts through email? Please refer to
>
> http://msdn.microsoft.com/en-us/subs...#notifications.
>
> Note: MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 2 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions. Issues of this
> nature are best handled working with a dedicated Microsoft Support Engineer
> by contacting Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>

 
Reply With Quote
 
Zhi-Xin Ye [MSFT]
Guest
Posts: n/a
 
      21st Jan 2009
Hi smurfman,

As far as I know, the MonthCalendar control does not support this kind of
feature, a MonthCalendar with 1x3 dimension can only display three
continuous months, for example, Jan. 2009, Feb. 2009 and Mar. 2009. You
can use three MonthCalendar controls instead.

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide

to you. Please feel free to let my manager know what you think of the level
of service provided. You can send feedback directly to my

manager at: (E-Mail Removed).

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Zhi-Xin Ye [MSFT]
Guest
Posts: n/a
 
      23rd Jan 2009
Hi smurfman,

How about this issue now? If you still need any help or have any concern,
please feel free to feedback, thanks.

Have a nice day!

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide

to you. Please feel free to let my manager know what you think of the level
of service provided. You can send feedback directly to my

manager at: (E-Mail Removed).

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MonthCalendar Brian S. Microsoft VB .NET 1 2nd May 2008 07:57 AM
MonthCalendar Brian S. Microsoft VB .NET 1 20th Apr 2008 11:57 AM
monthcalendar Julia Microsoft Dot NET Framework Forms 0 30th Dec 2004 08:41 AM
VB.NET: MonthCalendar http://www.visual-basic-data-mining.net/forum Microsoft ASP .NET 2 18th Oct 2004 03:50 PM
MonthCalendar and PDA oliver Microsoft C# .NET 3 31st May 2004 06:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:15 PM.