Hi
i have some probleum in reading the data from .val extension file
when i manually open the file in notepad and just click on file option -> save -> close the txt file and then read the data from vb.net coding it works fine but when i read the data from the selected file directly from coding it reads only first two characters
what is this means i use the following coding
sPathName = txtpath.Text & "\" & sFolderArray(icount) & "\" & sFolder
StmReader = New StreamReader(sPathName)
str = ""
Do
file1 = StmReader.ReadLine
txtfile.Text = txtfile.Text & file1
str = str & file1
Loop Until file1 Is Nothing
StmReader.Close()
is there any method to open and then save the file before readign from the file
please tell me
varinder