473,387 Members | 1,528 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,387 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 2911
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...
2
by: Steve | last post by:
I'm starting a smartdevice project and cannot find the monthview or any date control in the tools. If I need to buy or download a 3rd party control, where can i look??? Thanks in advance, steve
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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.