A 3D array like this
Dim MyFonts =
{
{"Arial", "arial.ttf", "arialbd.ttf"},
{"Calibri", "calibri.ttf", "calibribd.ttf"},
{"Candara", "Candara.ttf", "Candarab.ttf"},
{"Comic Sans MS", "comic.ttf", "comicbd.ttf"},
{"Consolas", "consola.ttf", "consolab.ttf"},
{"Constantia", "constant.ttf", "constantb.ttf"},
{"Courier New","cour.ttf", "courbd.ttf"},
{"Georgia", "georgia.ttf", "georgiab.ttf"},
{"Impact", "impact.ttf", "impact.ttf"},
{"Palatino Linotype", "pala.ttf", "palab,ttf"},
{"Tahoma", "tahoma.ttf", "tahomabd.ttf"},
{"Times New Roman", "times.ttf", "timesbd.ttf"},
{"Trebuchet MS", "trebuc.ttf", "trebucbd.ttf"},
{"Verdana", "verdana.ttf", "verdanab.ttf"}
}
Where the first dimension is the font name, the second is the True Type Font file for the normal style, and the third dimension is the True Type Font file for the bold style
I want to populate a combobox with the font names (first dimension)
For index0 = 0 To MyFonts.GetUpperBound(0)
'Add all the Fonts names to a Combobox
myCombobox.Items.Add(MyFonts(index0))
Next
I get the error: "Number of indexes is less than the number of dimensions of the indexed array"
Even if I use
myCombobox.Items.Add(MyFonts(index0,,))




MyFonts(0,0)orMyFonts(0,1)OrMyFonts(0,2)ANDMyFonts(1,0)orMyFonts(1,1)OrMyFonts(1,2)and see.