Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a computer in my company that will not show carriage return symbols. We need to adjust one of the registry keys to fit Crystal Reports and within the value data, carriage return symbols are needed. What is strange is that this computer doesn't show carriage return symbols in any application, yet it is shown on other computers. Can anyone help?

The showing of carriage return suymbols has always been, to my knowledge, a function of the individual applications - not the computer. What aplpications are you viewing the text in where the carriage return symbols are not displaying?
Michael J

From my computer, I can see these carriage returns from Notepad and regedit. When I go to the other computer and open up the same files, the carriage symbols are gone in both Notepad and regedit. I don't understand why.

What do the carriage returns look like in notepad on your computer?
If at first you don't succeed, you're about average.M2

yes, that's exactly what it looks like. its not showing on one of the computers in the company. is there a way to show it again?
Forget break or lunch, is it time for vacation yet?

That is an 'end of file marker [1a hex].
The carriage return [0d hex] doesn't show in my notepad.
Likely the EOF is being added when the file is copied.
To verify this look at the EXACT SAME file, like on a write-protected floppy, on both machines.
If at first you don't succeed, you're about average.M2

I did what you asked me to do. I copied the file onto a floppy disk and made it write protected. I even tested the write protect and tried to erase the file from the disk. Here is a picture of what I saw:
http://www.pntlessons.com/symbols.JPG
Forget break or lunch, is it time for vacation yet?

Now I don't know what to think.
Is one of the notepads reading the file on floppy and the other reading the file on the HD?
If so, read the floppy on both.
I can't tell from the picture if that's an EOF.
Can you post the file, preferrably ZIPped up?
Also, look at the exact file sizes. Not the Explorer view which prbably says 1KB, but do a DIR CrystalFix*
If at first you don't succeed, you're about average.M2

i'm reading the file both from the floppy. i have the file zipped up if you want to take a look.
http://www.pntlessons.com/crystal.zip
it's a .reg file so open it up w/ notepad.
Forget break or lunch, is it time for vacation yet?

Notice that the byte in question is neither a CR nor EOF, but is LF [libe feed, 0a hex].
The LF does not show in my notepad either. But it really is there.
Going back to your original purpose. I guess you need to add this key to the registry, right?
Can you do that by double-clicking on the .reg file?
I guess what I don't understand how notepad got involved.
If at first you don't succeed, you're about average.M2

The Line Feed does show in my notepad as well. I do notifce one difference between the two computers from the previous image. The computer not showing the LF character has the option "Hide extensions for know file types" enabled - that's why the .reg is not showing in the title bar. I tried setting that option on my computer, but the LF character still showed. Even so, try disabling that option and see what happens just for kicks.
Michael J

Hi Michael,
Very good observation.
Mine shows the extension, but doesn't show the LFs.
This will get chalked up to another windows oddity.
But as I said in my last reply, the LF is there whether notepad shows it or not.
Phi,
Do you need to EDIT this .reg file?
If at first you don't succeed, you're about average.M2

I wish it was as easy as double clicking the reg file. But this is why I have to it manually. Double clicking will not change the data value. So I have to open up the registry and change it by hand. Opening up the reg file that everyone has been seeing has the values I need to replace the default with.
I do have another idea though. I'm reinstalling the application to reset the reg values. Since M2 says he can't see it and Michael says he can, maybe if I change the values one character at a time, hopefully not deleting the "invisible" LF, then maybe it will work. I'll keep you posted. But if you have other ideas, feel free to let me know. For some reason, I think this is going to stump me for awhile.
Forget break or lunch, is it time for vacation yet?

So it worked. I reset the data value first. Then all I did was find the old data value on a different computer which showed LF symbols and compared it to the one on the machine w/out LF symbols. I carefully replaced the characters imagining where the LF symbols should be w/out deleting them. After getting them all in, I tried the program and it worked. Thanks for all the help in varifying that the LF symbols were actually there. Couldn't have done it w/ that idea.
Forget break or lunch, is it time for vacation yet?

Hi Phi,
Glad you hammered it out.
So the problem with double clicking the .reg was that there was an existing key which needed to be modified, right? In other words it would not suffice to 'add' the key.
I don't know much about reg alteration, but it seems like there must be a VBS or something to delete an existing key. Having done that, it might be as simple as adding the new key by the usual double click on CrystalFix.reg
Yes, no, maybe?
If at first you don't succeed, you're about average.M2

![]() |
Outlook error
|
HHD only 128gb when its 2...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |