Solved

vb monthCalendar

Posted on 2006-11-30
2
216 Views
Last Modified: 2012-06-22
what is the return value of the mouse, I want to take the value of the chosen date YYYY-MM-DD and insert into a textbox
0
Comment
Question by:prowebinteractive
2 Comments
 
LVL 6

Accepted Solution

by:
riyazthad earned 500 total points
ID: 18048866
   Private Sub MonthCalendar1_DateSelected(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateSelected
        TextBox1.Text = e.Start.Date
    End Sub

If you are selecting one date, it will put it textbox or else if you are selectign range of date, then you need to use both
e.Start.Date and e.End.Date .

0
 

Author Comment

by:prowebinteractive
ID: 18048895
I need the selected month, not the start, nor end
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question