Reading contents of multi-lined text file when installing.
Posted: Mon Jul 06, 2009 12:08 pm
Hi,
I have a need to read a short text file and display its contents in an install dialog at runtime.
I thought the 'Read From Text File' statement would do this, but it only reads one line - the file has more than one line.
It seems the Memo control has an abililty to read its contents from a text file, prenamed either ReadMe or License Agreement. But I think this is not a runtime capability and the file name will not be known before installing.
Is there a way to read the contents of a multi-lined text file during the installation?
Thanks in advance.
I have a need to read a short text file and display its contents in an install dialog at runtime.
I thought the 'Read From Text File' statement would do this, but it only reads one line - the file has more than one line.
It seems the Memo control has an abililty to read its contents from a text file, prenamed either ReadMe or License Agreement. But I think this is not a runtime capability and the file name will not be known before installing.
Is there a way to read the contents of a multi-lined text file during the installation?
Thanks in advance.