Dir_Load("Target1", "GS1_TarToday", $GS1_TarToday)
;here Target1 is a dir. and GS1_TarToday is a filename. $GS1_TarToday is the edit box in which i want to display info set by dir_load function
Func Dir_Load($cS_Group,$cS_Name,$cVData,$cSavedPath="Configurations\Default")
Local $cCurrent_Path=String($cSavedPath&"\"&$cS_Group&"\"&$cS_Name&".ct83")
Local $cFileData
If Not _FileReadToArray($cCurrent_Path,$cFileData, 0) Then
MsgBox($MB_SYSTEMMODAL, "", "There was an error Reading the "& $cS_Group&"\"&$cS_Name &".ct83 File ! Please Try again! ")
EndIf
Local $cFileData1 = _ArrayToString($cFileData)
GUICtrlSetData($cVData,$cFileData1)
Endfunc
The above code is meant to set the data of the edit box to a file GS1_TarToday.ct83 in Target1 folder ( $cFileData1 ) but this code simply does nothing. No errors are returned. still the data of the edit box remains as it is,