Display an entire text file in Custom Dialog
Friedrich,
I need to display either a .txt or .rtf file full contents in a Custom Dialog. Sort of like the EULA dialog, but cannot figure out how to get the entire text file to display.
Can you assist with a down and dirty simple script example? Cant seem to find one like that in the help files.
You know, this product just keeps getting better and better, and I am finding ALL kinds of uses for it....
Kel
3 Attachment(s)
Re: Display an entire text file in Custom Dialog
Kel,
Thanks so much for your kind words !!!
You have two different options:
1. In the RTF Cntrol, just select the .rtf file on your development machine in "RichEdit Pathname" and the compiler will embed the text into the setup.exe.
-and/or-
2. This is an undocumented feature (see attached screenshots)
You can use the file:// macro to read the .rtf file directly from an existing file located on the target machine. Of course, you can even display a .rtf file that you have added as a "Support File" to your setup.exe.
Does this help?
Friedrich
Re: Display an entire text file in Custom Dialog
Thank you so much for that, made my day....
Kel