I'm currently working on a form in VB.Net 2010 which has a number of controls which are added dynamically at runtime to a panel which sits in a tabcontrol.
The control i'm trying to add is a groupbox with a number of textboxes and labels.
I have been using the following example: http://msdn.microsoft.com/en-us/libr...=vs.71%29.aspx
Where I'm stuck is that I have an Null value error when the form is loading which comes from my control array class.
This error is generated by
where machine_control is an instance of my custom controls class.
Does anyone have any pointers as to how I can initializes this with values to avoid the NULL value error.