PDA

View Full Version : Display an entire text file in Custom Dialog



cnkinsd
10-19-2015, 01:04 PM
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

linder
10-20-2015, 04:09 AM
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

cnkinsd
10-20-2015, 10:54 AM
Thank you so much for that, made my day....
Kel