vb.net upgrade wizard

I've got my errors from this process down from 68 to 1...
Anyone care to help with it?? :^)

VB6.SetItemData(cboInfo(1), cboInfo(1).NewIndex, VB6.GetItemData(cboInfo(0), cboInfo(0).SelectedIndex) & x)

results in "NewIndex is not a member of System.Windows.Forms.Combobox"

LVL 67
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't know about all 68 errors, but there is no NewIndex member of a ComobBox.  I'm not familiar with what the NewIndex was used for, but if you know, then I can try and help :)

sirbountyAuthor Commented:
Pressing my memory too...lol

Original code:
With cboInfo(1)
For x = 1 to Ubound(strTasks) 'acquired from an ADO rs
  If strTasks(cboInfo(0).ItemData(cboInfo(0).ListIndex), x) <> "" Then
    .AddItem strTasks(cboInfo(0).ItemData(cboInfo(0).ListIndex), x)
    .ItemData(cboInfo(1).NewIndex) = cboInfo(0).ItemData(cboInfo(0).ListIndex) & x
  End If
Next x

The purpose was to
1) Add a category retrieved from the RS
2) Match it's ItemData property up with the indexed field of the specific record

It was so that I could retrieve what index I was working with...I prefer doing that via numerical data rather than text...

One could probably use the Tag property for a similar purpose.

Thanx for the help.  I probably won't complete the project in this manner.  I've already started it from the beginning, but was curious if I could get a moderately working version from the wizard....(I've still got 2 dozen 'warnings'... :|)
Bob LearnedCommented:
Here's a blog to help explain the difference:

A VB.Net equivalent of ComboBox.ItemData


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.