Depending on the font, you should see something like a square box in the code.
Try something like this to search for the character:
?Occurs(chr(26),FileToStr('testxx.mpr'))
Returns > 0 if one is found. You could put it in a loop and look for other CHR() values also. Chr(13) and 10 would be expected (they are CR and LF), and chr(9) is a tab, and you would want to stop at 31 as 32 is a space.
If it was one of these characters causing the problem, it should fail all of the time rather than sometimes, though.
>hi jim,
>
>how did you go about searching for that character? i'm guessing the same typeo of thing is happening here. i went throught the .mpr line by line and didn't see any high ASCII characters.
>
>thanks,
>
>vim
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.