473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How do you get selected date form MonthCalendar control?

Hi
Can someone tell me How do you get selected date form MonthCalendar control
Thanks so muc
Lisa
Nov 20 '05 #1
4 24414
Hi Lisa,

To get the first date in selected date range, use the 'SelectionStart'
property and to get the last date use the 'SelectionEnd' property. If you
don't want to allow the user to select a range (i.e. only a single date at a
time) then set the 'MaxSelectionCount' property to 1 and then use either the
'SelectionStart' or 'SelectionEnd' properties to get the selected date.

HTH,
Gary

"Lisa Jones" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Hi,
Can someone tell me How do you get selected date form MonthCalendar control? Thanks so much
Lisa

Nov 20 '05 #2
Hi Lisa,

To get the first date in selected date range, use the 'SelectionStart'
property and to get the last date use the 'SelectionEnd' property. If you
don't want to allow the user to select a range (i.e. only a single date at a
time) then set the 'MaxSelectionCount' property to 1 and then use either the
'SelectionStart' or 'SelectionEnd' properties to get the selected date.

HTH,
Gary

"Lisa Jones" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Hi,
Can someone tell me How do you get selected date form MonthCalendar control? Thanks so much
Lisa

Nov 20 '05 #3
Thanks Gary for wonderful explanation
have a great da
Lisa
Nov 20 '05 #4
Thanks Gary for wonderful explanation
have a great da
Lisa
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Ty Smith via AccessMonster.com | last post by:
I noticed that the week numbers in Stephan Leban's MonthCalendar are not consistent with Microsoft Outlook (they are shifted one week forward). Is there any way I can sync these two up by changing...
3
by: anthonytjea | last post by:
Hi all, Iam trying to embed the well known Month Calendar found at http://www.lebans.com/monthcalendar.htm directly into an MS Access form the same way that the ActiveX Calendar Control is...
2
by: Robert Misiak | last post by:
Hi everyone- I've done a lot of searching around on the web and I'm sure the answer to this question is no, but I'll ask anyway. Is it possible to create an inherited MonthCalendar control and...
2
by: Paul | last post by:
Hi, I hope somebody can help me with the following. (I have tried searching for a solution on the newsgroups but nothing is quite what I need. Feel free to point me in the direction of anything...
4
by: Lisa Jones | last post by:
Hi Can someone tell me How do you get selected date form MonthCalendar control Thanks so muc Lisa
3
by: RG | last post by:
For a Windows project in VB.NET 2003: I need a Calendar that’s much larger than the MonthCalendar control in the toolbox; it needs to fill the whole screen (at least approximately ). VB...
1
by: Gidi | last post by:
Hi, How can I get the value of a selected date (after i changed the date) ? Thanks, Gidi.
0
by: ramesh.nrk | last post by:
Hi, In my windows application I need to display MonthCalendar control with some selected dates. I am using the property "Bolded Dates" to add selected/some dates. But those dates are displayed in...
0
by: fts2012 | last post by:
Hi all! Here is a problem in using MonthCalendar, I have known the method BoldedDates which can highlight some day by change it's font. I tried my best to search the web but didn't find any useful...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.