Converting array element to string in VB (using Visual Studio 2015)
<p>So I'm trying to set up a VB Windows Form that reads data from an array and displays it in a label (and sometimes textboxes so it could be edited). The array contains strings and I know they are stored properly because I can make them appear properly when using MsgBox. </p>

<p>For example</p>

<pre><code>MsgBox(ArrayName(0,0))
</code></pre>

<p>works, but when I use</p>

<pre><code>textboxname.Text = ArrayName(0,0)
</code></pre>

<p>I get a build error. I thought adding ".ToString" at the end might solve this, and the build error is gone, but then the textbox says "System.Char[]" instead of the value that I put inside the array. The MsgBox shows this as well, if I put ".ToString" at the end.</p>

<p>Thank you in advance for your help!</p>

<p>Edit: The array is declared via the code:</p>

<pre><code>Module ModuleName
Public ArrayData(20, 6) As Array
End Module
</code></pre>

<p>so that I can edit it outisde of any specific subroutines.</p>

<p>The array only contains the characters (delimiter is comma): 0,1,2,3,4,5,6 in the first row and q,w,e,r,t,y in the second row.</p>