Ok, I know I'm in WAY over my head here, but that's been the story of my life for 4 decades, so here goes:

I'm trying to create a server/client app for playing RIFTS® across a network that consists of a simple(HAH!) client character sheet that logs into a server, allowing the GM (server app) to view/modify data. I don't have the winsock part started yet, so we won't worry about that yet (Thank God!). My problem is that I want to find a way to perform a "quick load" of the more than 100 textboxes on the server side sheet without having to create 3 lines of code for each one. I have the textbox names stored in an array, so I can (hopefully) use that to iterate through all the names in a loop, but have no idea how to implement the load statement using an array reference. An example of the code I'm using is below, and I can more fully explain the concept I have in mind, if needed.

VB Code:
  1. Private Sub btnAddTab_Click()
  2.   ' Adds a new tab when a new client connects, adding new textboxes for
  3.   ' each alterable attribute
  4.   Dim i, c As Integer, temp As String
  5.  
  6.   TabStrip1.Tabs.Add
  7.   tCnt = TabStrip1.Tabs.Count
  8.   TabStrip1.Tabs(tCnt).Caption = "Tab #" & tCnt  ' Testing purposes only, for now
  9.   ' To be replaced by the Client's Character name at a later time
  10.   cnt = txtName.Count
  11.   TextBoxNameArray = Array("txtName", "txtAlign", "txtHP", "txtCHP", "txtSDC", "txtCSDC", _
  12.   "txtLvl", "txtEXP", "txtOCC", "txtIQ", "txtSkB", "txtME", "txtSVPI", "txtMA", _
  13.   "txtTrust", "txtPS", "txtDmgB", "txtPP", "txtStrPryDdg", "txtPE", "txtCmDthPs", _
  14.   "txtPB", "txtCharm", "txtSpd", "txtFPM", "txtPPE", "txtISP")
  15.   c = UBound(TextBoxNameArray)
  16.   For i = 0 To c
  17.     ' The block below is where I'm having trouble
  18.     '------------------------------------------
  19.     temp = TextBoxNameArray(i)
  20.     Load frmServer.Controls(temp)(cnt)
  21.     TextBoxNameArray(i)(cnt).ZOrder 0
  22.     '------------------------------------------
  23.   Next
  24.   'Load txtName(cnt)
  25.   'txtName(cnt).Text = TabStrip1.Tabs(tCnt).Caption
  26.   'txtName(cnt).ZOrder 0
  27. '  Stop
  28. End Sub

Now, obviously, the code I have in there is not only non functional, it throws errors. This is also a greatly reduced version of the array, since there are 184 textboxes to be used (unless I find a better way to implement this). I'm not even certain if there's a way to load controls in the manner I want (Fumbling NOOB here), but I'm hoping, since it will reduce the code size tremendously.

The commented out lines at the bottom of the example illustrate how each textbox is individually loaded, so you can see what I have to do, per textbox, to load each new tab with data. I'm sure there are better ways to do this, but I'm learning by trial and error here... Quite possible the WORST way to learn this...

Ok, I've talked enough. Thanx for looking, and any suggestions are humbly and gratefully accepted.