VB.net Error

02/08/2012 19:16 Eclipse-GaminG#1
Hey guys im not sure if this is the right section to post this but since its sorta related to eo i posted it here.

I'm trying to create an admin panel through Visual Studio, im sorta new to this so I don't know everything and was wondering if anyone could help me out with the following error.

When I try to run the program where it says System.Byte[] it should show the character names but it shows that instead, if i change that to something else which would show for e.g. lookfaces, it works fine.
02/08/2012 20:17 Eurion#2
I've moved this to the .net coding section. You will find more help here than in the Eo section.
02/08/2012 21:25 Kraizy​#3
..your code?
02/08/2012 22:20 vwap#4
Shortly I would say you try to convert anything to byte[].
This won't work.
Use the Convert-Class instead.
02/08/2012 22:21 Eclipse-GaminG#5
Thanks but I solved the problem

I was using

Code:
             While data.Read

                    ListBox1.Items.Add(data(0).ToString)

                End While
And fixed it with the following code

Code:
                While data.Read

                    ListBox1.Items.Add(data.GetString(0))

                End While