how do you create an object [in vb 6] using just code? i know there's a way, please respond.
Printable View
how do you create an object [in vb 6] using just code? i know there's a way, please respond.
The easiest way is to create one at design time, with an index of 0. When you want to create a new one do something like this
VB Code:
Load MyObject(MyObject.Count) MyObject(MyObject.Count-1).Visible = True