Chris,

Maybe you are right, Shane could use $null = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\TaskManager","Preferences","blah","REG_BINARY")...

But i disagree with your comment. First of all he has told us it is going to be long...

Second I have search this board and there is a little bit documented about breaking long lines. There is nothing about it in the BB Faq


E. Don't paste long lines of code between [CODE] tags. It will cause the entire thread to go real wide making it difficult to read (sidewards scrolling). Break and indent them instead. Doing so will not harm the code.

Note: If you fall victim to someone else's indiscretion on this matter, all is not lost... you can still salvage the situation. If you look down at the bottom you will see a link to "Print Thread" which is more than just "printer" friendly. It will make all lines that are not between [CODE] tags wrap at the edge of the screen.



When Shane had read the above part of the ABC's of KiXtart board etiquette and message to new forum users He should know pasting his code between code tags causes these long lines. But that isn't part of your comment. Besides the "print thread" doesn't work anymore. (not for this thread)


After a search for "blah" there are a few threads in which it is used like the code above.

I'm not sure but I believe that since this BB is migrated to another version postprep doesn't work anymore.



So it is a very long line and it makes this thread not pleasant to read. But your reply doesn't helps Shane or other memebers to do it next time the right way ...
_________________________
Co