VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

how to add date to a combo box? Rate Topic: -----

#1 mavs19  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 16-September 08


Dream Kudos: 0

Share |

how to add date to a combo box?

Post icon  Posted 16 September 2008 - 06:48 PM

Please help on how to add date (with complete format) to a combo box...
Was This Post Helpful? 0
  • +
  • -


#2 thava  Icon User is offline

  • D.I.C Lover
  • Icon

Reputation: 103
  • Posts: 1,223
  • Joined: 17-April 07


Dream Kudos: 150

Re: how to add date to a combo box?

Posted 17 September 2008 - 12:24 AM

simple
formatString ="your format"
combobox1.additem(format(now,formatstring))


Was This Post Helpful? 1

#3 akhileshbc  Icon User is offline

  • D.I.C Head
  • Icon

Reputation: 9
  • View blog
  • Posts: 179
  • Joined: 26-September 08


Dream Kudos: 50

Re: how to add date to a combo box?

Posted 27 September 2008 - 11:08 PM

Private Sub Form_Load()
Combo1.AddItem CStr(Date)
End Sub

Will this help you..????:)
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users