tag:blogger.com,1999:blog-401589929867299765.post5905291789428619863..comments2023-10-31T07:12:00.001-07:00Comments on Ted's Hello World: Adjust the dropdownheight of a ComboBox automatically in VB.NETTed Unnikumaranhttp://www.blogger.com/profile/08852810667558818784noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-401589929867299765.post-29324336230113198542010-05-14T08:45:04.117-07:002010-05-14T08:45:04.117-07:00Over a year... but perhaps things have changed now...Over a year... but perhaps things have changed now at MS... When you try For Each s As String In DirectCast(sender, ComboBox).Items<br /><br />you now get "Conversion from type 'DataRowView' to type 'String' is not valid" <br /><br />Apparently it is impossible to iterate through the items of a combo box.... VS 2008Darveson Pinoyhttps://www.blogger.com/profile/17232473662042819862noreply@blogger.com