For Questions and Assistance please use the proper Category.. please..
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome guys!!.. In order for you guys to post your Questions and assistance requests,, please REGISTER first.. Only members can post.. If you have requests then feel free to email ADMIN neuron or SPAMMER onatzky.. thanks!

Display results as :
Rechercher Advanced Search
Donation box
Latest topics
» Convert signed ZD to PD
Thu Sep 01, 2016 7:57 pm by neuron

» Abia State Polytechnic Admission form for 2013/2014 out!
Tue Oct 08, 2013 9:30 am by stevejoo

» Convert ZD to SIGNED PD
Sun Sep 08, 2013 9:22 pm by neuron

» How to Speed Up My PC
Tue Feb 26, 2013 9:15 am by alphysudaria143

» Hi I'm alphysudaria143
Sun Feb 17, 2013 12:25 am by alphysudaria143

» How to Copy all the Generations of a GDG
Thu Oct 11, 2012 8:30 am by neuron

» Remove Duplicates in a dataset though Sort
Thu Oct 11, 2012 8:23 am by neuron

» how to insert data into your access database
Tue Aug 14, 2012 9:56 am by neuron

» how to populate combobox in during form load
Tue Aug 14, 2012 9:53 am by neuron

Please support me my registering to NEOBUX
free forum

Share | 

 how to populate combobox in during form load

Go down 

Posts : 38
Join date : 2009-08-06

PostSubject: how to populate combobox in during form load   Tue Aug 14, 2012 9:53 am

here is a sample code:


    Private Sub loadcomboboxmonth()
        Me.ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
        Me.ComboBox1.Items.Insert(0, "Show All")
        Me.ComboBox1.Items.Insert(1, "January")
        Me.ComboBox1.Items.Insert(2, "February")
        Me.ComboBox1.Items.Insert(3, "March")
        Me.ComboBox1.Items.Insert(4, "April")
        Me.ComboBox1.Items.Insert(5, "May")
        Me.ComboBox1.Items.Insert(6, "June")
        Me.ComboBox1.Items.Insert(7, "July")
        Me.ComboBox1.Items.Insert(8, "August")
        Me.ComboBox1.Items.Insert(9, "September")
        Me.ComboBox1.Items.Insert(10, "October")
        Me.ComboBox1.Items.Insert(11, "November")
        Me.ComboBox1.Items.Insert(12, "December")

        ComboBox1.SelectedIndex = 0

    End Sub

credit goes to the original uploader of the codes..

In this forum we will share the knowledge we have to every single individual who shows respect and interest.. If you stay.. you learn.. if not.. then please go.........

--it's me Admin"D"
Back to top Go down
View user profile
how to populate combobox in during form load
Back to top 
Page 1 of 1
 Similar topics
» contract form or purchase order
» about ppmp,labor and material
» editing the buyer's information submitted,
» Current Workload Relative to Capacity
» Annual Procurement Plan

Permissions in this forum:You cannot reply to topics in this forum
OnlineKnowledgeRepository :: All About PC :: Programming :: VB.NET-
Jump to: