Yes John,
but Yim want to display the text file on screen and allow user
to search the inside contents and with
lcFileName = "Whatever.txt"
MODIFY FILE (lcFileName) NOEDIT
or with
m.file_to_show = [d:\mytext.txt]
oShell = CREATEOBJ('Shell.Application')
oShell.ShellExecute([notepad.exe],m.file_to_show)
the user can search simple with Ctrl+F.
>or read it FileToStr() and show it in an edit box..
>
>
>>Hi Yim,
>>Try this
>>
m.file_to_show = [d:\mytext.txt]
>>oShell = CREATEOBJ('Shell.Application')
>>oShell.ShellExecute([notepad.exe],m.file_to_show)
>>
>>>Hi,
>>>
>>>How to open and view a text file (.TXT) ?
>>>
>>>Please advise.
>>>
>>>Thanks
>>>Derek Yim
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst