Hi all,
i have following piece of code,
I am trying open a text file and put in a string
***************************************************
Dim strMailMessage As String, FSO As FileSystemObject, F
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Set FSO = New FileSystemObject
Set F = FSO.OpenTextFile(MFile, ForReading, TristateFalse)
strMailMessage = F.ReadAll
*****************************************************
in 'F.readall' it gives error
like Error # 62 ;Input past end of file
can anyone please help me in this.
*** Even the Best, did the Bad and Made the Best ***
John Philip
i have following piece of code,
I am trying open a text file and put in a string
***************************************************
Dim strMailMessage As String, FSO As FileSystemObject, F
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Set FSO = New FileSystemObject
Set F = FSO.OpenTextFile(MFile, ForReading, TristateFalse)
strMailMessage = F.ReadAll
*****************************************************
in 'F.readall' it gives error
like Error # 62 ;Input past end of file
can anyone please help me in this.
*** Even the Best, did the Bad and Made the Best ***
John Philip