1 Replies - 1121 Views - Last Post: 15 January 2014 - 08:41 AM Rate Topic: -----

#1 Nithulaps  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-January 14

How to set commondbutton in calender

Posted 14 January 2014 - 10:25 PM

View Postnool, on 06 March 2009 - 04:24 AM, said:

i have difficulties in using the calendar in visual basic. yes, i found a way to open the calendar. but my problem is , how to connect command button to the dates selected. could you possibly explain it to me. step by step.


Is This A Good Question/Topic? 0
  • +

Replies To: How to set commondbutton in calender

#2 Minimalist  Icon User is offline

  • D.I.C Head

Reputation: 15
  • View blog
  • Posts: 142
  • Joined: 13-November 13

Re: How to set commondbutton in calender

Posted 15 January 2014 - 08:41 AM

Private Sub Command1_Click()
Dim txtDate As String
txtDate = CStr(MonthView1.Value)
Text1 = txtDate
End Sub


This code moves the date into a textbox when the button is clicked
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1