I just want to say that I am very new to VB so please forgive my ignorance.
I need to create a String / Array such that Button(1) is equal to Button1 and Button(2) is equal to Button2 and Button(73) would thus be equal to Button73.
If I say:
Dim Button() as String = {Button1, Button2, Button3}
it says: Value of type 'System.Windows.Forms.Button' cannot be converted to 'String'.
Please help? How can I convert all 100 of my buttons into a string or array so that I can refer to them as Button(54) for instance or Button(75)?
Please remember that I am just starting Visual Basic, so the more detail you give me and the more simple and dummy-proof your answer is, the much much higher possibility there will be of me choosing you as my Best Answer.
Thank you so much for your help!
2007-06-30
16:13:57
·
2 answers
·
asked by
djdeity25
1
in
Computers & Internet
➔ Programming & Design