Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-xp    |    Actually wasn't too bad for a M$-OS    |    17,273 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 16,775 of 17,273    |
|    VanguardLH to All    |
|    Re: Reloading a changed a wordpad docume    |
|    26 Mar 24 18:46:39    |
      XPost: alt.windows7.general       From: V@nguard.LH              I don't think Wordpad will work how you want. When it opens a document,       it loads the doc into buffer. If the target doesn't change, it uses       what is in its buffer. You could change the file itself many times, but       Wordpad will still show you the contents of its buffer. You have to       flush the buffer by loading in a new doc even if it is the same file but       changed since lasted loaded. Wordpad's File -> Open menu is not an       option since you pick the same target, so it still shows you its current       buffer content. There is no Close in Wordpad to force creating a new       buffer, and selecting the same target has Wordpad "facilitate" reduction       of resource and enhanced load speed by showing you the buffer it already       has for that file.              As a test using Notepad, I opened it, entered "hello there", and saved       to test.txt. I left that Notepad instance open, so it will continue to       show the old contents still in its buffer. I edited test.txt using       Notepad++ (or anything but Notepad) to "out to lunch", and manually       saved the change (File -> Save), and exited Notepad++. I then       double-clicked the same test.txt file, and the Notepad instance that       opened loaded the current file into its own buffer, so I saw "out to       lunch" in the new instance of Notepad, and "hello there" in the older       instance of Notepad. With Notepad, a new instance would load the       changed file.              I did the same test using Wordpad. On an .rtf file containing "hello       there", I opened it in Wordpad. While the Wordpad window was left open       (so it continued to show the contents of its buffer), I edited test.rtf       using Notepad++ to change to "out to lunch", and saved manually (if I       just close Notepad++ there was no prompt to save changes). I then       opened the changed file in Wordpad. Nope, the 2nd instance of Wordpad       still showed "hello there" instead of "out to lunch". Almost as though       the 2nd instance of Wordpad were reusing the buffer from the 1st       instance of Wordpad.              Does your program have to output to an .rtf file? Maybe it could       generate a .txt file since Notepad will use a new buffer in a new       instance of it but Wordpad doesn't. Or you hit F2 in Explorer on the       file to rename from .rtf to .txt. You don't want to reassign .rtf       filetypes to a different editor since that would change the handler for       all .rtf files. Okay, so rename the file to .txt before double-clicking       on it. If you cannot change the program to output to a .txt file       instead of an .rtf file, you can force the change yourself by changing       the extension.              Is there really any formatting in the output file by the program that       would require RTF, or is it all just plain text?              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca