Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Working with LBound and UBound
Author:
NBS Solutions
E-mail:
Click to e-mail author
Website:
http://www.netnet.ca
Submitted:
6/12/2004
Version:
VB6
Compatibility:
VB6
Category:
Miscellaneous
Views:
16360
This is a example of how to manipulate the LBound and UBound properties of a control array.
Declarations:
'Create a control array set of combo boxes and use this code to reset it to the first item in the list. Ensure that you have at least one item in each combobox
Code:
Dim i As Long For i = Combo1.LBound To Combo1.UBound Combo1(i).ListIndex = 0 Next i
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement