Solved

vb monthCalendar

Posted on 2006-11-30
2
213 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now