473,503 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2912
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
3871
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
2217
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
5096
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
1618
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
1013
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
24425
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
10981
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
2849
by: Gidi | last post by:
Hi, How can I get the value of a selected date (after i changed the date) ? Thanks, Gidi.
0
1993
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
2068
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
7194
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
7070
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
7267
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
7316
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...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5566
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.