1 Replies - 1386 Views - Last Post: 04 August 2009 - 10:27 PM Rate Topic: -----

#1 hitani   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-August 09

display date from monthcalender in vb.net

Posted 04 August 2009 - 10:01 PM

i want to display date in messagebox from monthcalender in vb.net , pl help me
Is This A Good Question/Topic? 0
  • +

Replies To: display date from monthcalender in vb.net

#2 janne_panne   User is offline

  • WinRT Dev
  • member icon

Reputation: 428
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

Re: display date from monthcalender in vb.net

Posted 04 August 2009 - 10:27 PM

This should work:

	MessageBox.Show(MonthCalendar1.Selectionstart().Day)



That displays the first selected date. If you want to prevent user from selecting multiple dates, you can use this:

	MonthCalendar1.MaxSelectionCount = 1


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1