03-07-2006 02:05 PM
03-08-2006
03:21 PM
- last edited on
06-30-2025
02:03 PM
by
Content Cleaner
Hello,
Interesting problem! I was not able to have any problems with this. What I did is find a rtf file (in my case I choose a modified version of the NI License Agreement) and built a blank installer (no VIs) and included it as a readme. I was able to use the scrollbar just fine. I attached the project and rtf file for you to try out too. I'm also using LabVIEW 8.0.1 which probably doesn’t make a difference (but it could). I'm also pretty sure that the installer just makes Windows calls, so it might be a problem with some Microsoft settings. You can try to download a new version of the Windows Installer too.
Hopefully this helps -- let me know how things go!
03-08-2006 03:45 PM
@Travis M. wrote:
I attached the project and rtf file for you to try out too...
03-09-2006 08:48 AM
I tried creating a little sample project and rtf like you described and I still have the missing scrollbar problem. See attachments.
We have Win 2k.
03-09-2006 04:41 PM
My apologies for not including the actual file -- I need to read a little more closely and make sure that all gets attached as promised. I did reproduce the problem with your project (WINXP) try mine and let me know if it fails on yours. If it works on yours we'll have to nail down the differences.
03-10-2006 04:41 PM
In the mean time, I have applied the 8.0.1 patch. I did all my mass recompiling and all; however, it the patch didn't fix my problem.
Before using your whole project, I tried merely substituting your RTF for mine and that worked fine--it gave me the missing scrollbar.
So the problem is with my RTF file. What's wrong with it? I created it with Word 2003.
Thanks.
03-13-2006 03:30 PM
Very strange! I am using Word 2003 SP1 to create the readme. When either you or me run the installer with the “Testing 1 2 3” RTF file there is no scrollbar, and both of us get the scrollbar with the sample NI RTF readme. I think it’s probably safe to draw the conclusion that this is not due to differences between our two computers but rather differences in the RTF file setup (but not the actual text of the file).
I don’t know what a RTF file is supposed to look like, but I did open them in a simple text editor and the first lines are surely different between 2 examples I ran successfully and one that failed.
In the successful RTF files:
{\rtf1\ansi\ansicpg1252\uc1\deff1\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
From the unsuccessful RTF file:
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch13\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe2052{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f13\fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt \'cb\'ce\'cc\'e5};}
This is just the first line of each file, but the \rtf1\XXXXXXXX appears to be the same in the successful ones but different in the unsuccessful one. I’m also not convinced that it’s not a Microsoft problem, but I’ll look into this a little more and hopefully get back to you with some additional information. In the meantime, does your readme file work if you cut and paste the content into a RTF file that works? I’m curious if there is some field in an RTF file that specifies the length and maybe this is just missing from some of these files so that the program that displays the file isn’t aware of the need for a scrollbar. This is purely speculation of course but its worth looking at.
Hope this helps-