This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Junk character are seen on displaying the RTFfile in install shield 2013
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 13, 2013
03:55 PM
Junk character are seen on displaying the RTFfile in install shield 2013
Hi All,
We have mimic the code for SdLicense2Rtf to display the custom rtf file but in the display window we see ?????? instead of the content in rtf file content.
This is working properly in the earlier install shield 2010.
Is there something we need to modify so that we display the content properly.
Look like below code is having some problem
list = ListCreate(STRINGLIST);
if (ListReadFromFile(list, szFinalFile) == 0)
then
nLines = ListCount(list);
i = 1;
nResult = ListGetFirstString(list, szAddThis);
while (END_OF_LIST != nResult)
if (i != nLines) then
szNewString = szNewString + szAddThis + "\r\n";
else
szNewString = szNewString + szAddThis;
endif;
i = i + 1;
nResult = ListGetNextString(list, szAddThis);
endwhile;
//MessageBox(szNewString, WARNING); // message i think szNewString doesn't have junk character but there is some problem in send message
nResult = SendMessage(hRichEditCtrl, WM_SETTEXT, 0, &szNewString);
endif;
Thanks in Advance.....
We have mimic the code for SdLicense2Rtf to display the custom rtf file but in the display window we see ?????? instead of the content in rtf file content.
This is working properly in the earlier install shield 2010.
Is there something we need to modify so that we display the content properly.
Look like below code is having some problem
list = ListCreate(STRINGLIST);
if (ListReadFromFile(list, szFinalFile) == 0)
then
nLines = ListCount(list);
i = 1;
nResult = ListGetFirstString(list, szAddThis);
while (END_OF_LIST != nResult)
if (i != nLines) then
szNewString = szNewString + szAddThis + "\r\n";
else
szNewString = szNewString + szAddThis;
endif;
i = i + 1;
nResult = ListGetNextString(list, szAddThis);
endwhile;
//MessageBox(szNewString, WARNING); // message i think szNewString doesn't have junk character but there is some problem in send message
nResult = SendMessage(hRichEditCtrl, WM_SETTEXT, 0, &szNewString);
endif;
Thanks in Advance.....
- Tags:
- installshield 2013
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 27, 2013
04:14 PM
It is unclear as to why you are recieving this error.
Have you tried recreating your RTF file to see if this helps to resolve the issue?
Additionally, try creating a test project and adding your rft file into the support files to have an isolated case.
Have you tried recreating your RTF file to see if this helps to resolve the issue?
Additionally, try creating a test project and adding your rft file into the support files to have an isolated case.