sirbounty
asked on
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.Combo box"
Anyone care to help with it?? :^)
VB6.SetItemData(cboInfo(1)
results in "NewIndex is not a member of System.Windows.Forms.Combo
ASKER
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).ItemDa ta(cboInfo (0).ListIn dex), x) <> "" Then
.AddItem strTasks(cboInfo(0).ItemDa ta(cboInfo (0).ListIn dex), x)
.ItemData(cboInfo(1).NewIn dex) = cboInfo(0).ItemData(cboInf o(0).ListI ndex) & 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'... :|)
Original code:
With cboInfo(1)
For x = 1 to Ubound(strTasks) 'acquired from an ADO rs
If strTasks(cboInfo(0).ItemDa
.AddItem strTasks(cboInfo(0).ItemDa
.ItemData(cboInfo(1).NewIn
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'... :|)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Jake