I have a small problem, I am trying to get the typing correct, I'm sure the solution is simple, so here's the problem:
Dim ff As clsFTP 'this is a class
Dim strArray() As String = ff.GetFileListMod
I am not able to assign strArray with ff.GetFileListMod, I receive the following error message:
Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of String'.
I already know that by disabling Option Strict my code will work, I am simply looking for the correct way to do it
Pink
Dim ff As clsFTP 'this is a class
Dim strArray() As String = ff.GetFileListMod
I am not able to assign strArray with ff.GetFileListMod, I receive the following error message:
Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of String'.
I already know that by disabling Option Strict my code will work, I am simply looking for the correct way to do it
Pink