I'm just trying to load from a text file into a string. I don't get why this doesn't work. Function LoadFile(FileName As String) As String() LoadFile = System.IO.File.ReadAllLines(FileName) End Function