I added the code as stated above and it works great for loading my combo boxes. However, I am now having an issue with my old code for looping through the combo box. For example, I have a Statement form where the user can select an owner from the combobox or leave blank to run for all owners.

How do I loop through all the owners in the combobox using this code? I'm sure it is something simple, but for some reason my brain is having trouble making the transition from VB6 to VB.NET!!


ComboLoad Code:
  1. Public Sub LoadComboBoxWithPartners(ByRef CmbX As ComboBox)
  2.  
  3.         CmbX.Font = myFont
  4.  
  5.         With CmbX
  6.             .Font = myFont
  7.             .DisplayMember = "fullname"
  8.             .ValueMember = "ucode"
  9.             .DataSource = My.Application.Owners
  10.         End With
  11.         CmbX.SelectedIndex = -1
  12.  
  13.     End Sub

Any guidance is appreciated.
Thank you!
Chrissy