P2blr
Diabloii.Net Member
I know, I know, VB isn't really a language
but I am in a VB class at school, and I think I know more than the teacher, considering I get called over to fix people's problem's more than him. Anyway, I'm trying to dodge the ridicule of my (now) Java class, and instead of simply making a proggie the usual way, I want to make it almost entirely in code: by that I mean just have a form, and then create all the controls during runtime.
Now, I know how to add a control to an array during runtime; I know how to add a brand new control to a form during runtime. My problem is this: how do I create a new control array during runtime? I tried to change the Index to 0, but it said it was a read-only property. I tried to define it as an array in the declerations. help would definitely be appreciated, as the project is due on monday, and I've spent all my time working on creating the damn numbers to drag & drop.
Oh yeah, the version would be 6.0, so .NET code would be hard for me to understand right now >_<
thanks OTF, smartest group of people I don't know
but I am in a VB class at school, and I think I know more than the teacher, considering I get called over to fix people's problem's more than him. Anyway, I'm trying to dodge the ridicule of my (now) Java class, and instead of simply making a proggie the usual way, I want to make it almost entirely in code: by that I mean just have a form, and then create all the controls during runtime.
Now, I know how to add a control to an array during runtime; I know how to add a brand new control to a form during runtime. My problem is this: how do I create a new control array during runtime? I tried to change the Index to 0, but it said it was a read-only property. I tried to define it as an array in the declerations. help would definitely be appreciated, as the project is due on monday, and I've spent all my time working on creating the damn numbers to drag & drop.
Oh yeah, the version would be 6.0, so .NET code would be hard for me to understand right now >_<
thanks OTF, smartest group of people I don't know