473,657 Members | 2,934 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 2920
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 'MaxSelectionCo unt' property to 1 and then use either the
'SelectionStart ' or 'SelectionEnd' properties to get the selected date.

HTH,
Gary

"Lisa Jones" <an*******@disc ussions.microso ft.com> wrote in message
news:1F******** *************** ***********@mic rosoft.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 'MaxSelectionCo unt' property to 1 and then use either the
'SelectionStart ' or 'SelectionEnd' properties to get the selected date.

HTH,
Gary

"Lisa Jones" <an*******@disc ussions.microso ft.com> wrote in message
news:1F******** *************** ***********@mic rosoft.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
3880
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 something in the module or the code in Stephan's MonthCalendar? Thanks, TySmith -- Message posted via http://www.accessmonster.com
3
2222
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 embedded into the form (ie. I want the MonthCalendar to be part of the form instead of popping up in a seperate window). Thanks
2
5107
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 override the member that paints the background? I've tried working with OnPaint, OnPaintBackground to no avail. Perhaps someone has a similar calendar control implementation out there? Thanks, Robert
2
1624
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 I may have missed though.) I have a form with 2 text boxes, two list boxes and 2 buttons (A & B). Both buttons must perform some validation but they differ in their extent. Button A must ensure that a date has been entered in both text
2
1022
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
24434
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
11001
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 won’t allow me to change the Size Height or Width Properties. I see that you can size a Calendar control in a Web project all you like; but I’m creating a Windows application project here. I see that Size comes from System.Drawing.Size...
1
2886
by: Gidi | last post by:
Hi, How can I get the value of a selected date (after i changed the date) ? Thanks, Gidi.
0
2018
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 "BOLD". But I need to display with different background color. How can I display the "Bolded Dates" in different Background color?
0
2075
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 information about how to change the color of special date in MonthCalendar! Does anyone know the method or the way to write a function like BoldedDates ? Thanks.
0
8384
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8302
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8820
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8499
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7314
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1601
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.