CRASHES AND CORRUPTIONUse Application Recovery to Mitigate a CrashThe Annoyance:Every now and then, Word hangs but doesn't crash. I can see my document, but I can't do anything to save my latest changes. The Fix:Depending on the version of Word you're using, you may be able to do some damage control. First, if what you can see of the document contains unsaved changes, take a picture of what's there and save it. With the focus on the Word window, press Alt+Print Screen. That copies a picture of the Word window to the Clipboard. Open Paint (Start All Programs Accessories Paint) and press Ctrl+V to paste the picture. Press Ctrl+S and save the picture in a convenient folder. (If the Word window has gone white or is showing chunks of other applications, skip this step.) Next , if you're using Word XP or Word 2003, launch Microsoft Office Application Recovery by choosing Start All Programs Microsoft Office 2003 Microsoft Office Tools Microsoft Office Application Recovery (for Word 2003), or Start All Programs Microsoft Office Tools Microsoft Office Application Recovery (for Word XP). In the Microsoft Office Application Recovery window (see Figure 2-7), select the entry for Word and click the Recover Application button. Figure 2-7. Microsoft Office Application Recovery can sometimes save data even after Word has hung.Microsoft Office Application Recovery attempts to recover the data in the open document, and then displays a dialog box (see Figure 2-8) offering to send an error report to Microsoft. Figure 2-8. Choose whether to send an error report on the crash to Microsoft. If you've reported the error before, it's probably not worth doing so again.The recovery then takes place, and Microsoft Office Application Recovery automatically restarts Word. Any recoverable documents appear in the Document Recovery pane with their types (Recovered or Original), details of when and how each was saved (for example, "Saved during recovery" or "Last saved by user "), and whether they have been repaired. Click a document to open it, or right-click a document and choose a command from the shortcut menu (see Figure 2-9, top). Choose the Show Repairs command to display the Show Repairs dialog box (see Figure 2-9, bottom), which lists any errors that Word has repaired. Sort the errors by error description or by location, click the error you want to see, and click the Go To button. Check the document for damage, and then save it under another name .
Figure 2-9. Document recovery usually enables you to recover much of the document that you were working on when Word crashed. The document may contain errors that Word has repaired.Turn Off Error ReportingThe Annoyance:I've sent Microsoft an error report 50 times about the same error in Word, but I haven't received a response. I don't need to see these useless error-reporting prompts again. The Fix:Turn off error reporting for Word. Press Windows Key+Break (or open the Start menu, right-click My Computer, and click Properties) to display the System Properties dialog box. Click the Advanced tab, and then click Error Reporting. In the Error Reporting dialog box (see Figure 2-10), you can select the Disable Error Reporting option to turn off all error reporting. However, it's usually more useful to click the Choose Programs button, click the Add button at the bottom of the dialog box, and add each program for which you want to disable error reporting. Type the name of the executable file for Word winword.exe or click the Browse button and browse to it. Click the OK button to close each of the four open dialog boxes. Figure 2-10. If Word keeps crashing with the same error, you can turn off error reporting.Recover a Document After a CrashThe Annoyance:Word crashed again. Microsoft Office Application Recovery didn't do any good this time, and when I try to open the document, Word crashes yet again. The Fix:This doesn't sound good, but all is not yet lost. Here's what you should do:
Tip: If you have another word processor installed on your computer, try using it to open a damaged version of the document. Word processors such as Corel WordPerfect and OpenOffice.org include text converters that can read most Word features but are fairly tolerant of document corruption, bypassing it as features they can't interpret. Again, you're likely to lose much of the document's formatting, but you may be able to recover most of the text. Control or Turn Off AutoRecoverThe Annoyance:Every few minutes, Word seems to save something by itself; I see the readout flicker across the status bar. But I know it's not saving my document, because the document still contains unsaved changes. The Fix:What you're seeing is Word's AutoRecover feature automatically saving a backup version of the document in case Word, Windows, or your computer crashes. When you restart Word after a crash, it automatically opens the latest AutoRecover documents so that you can choose which to recover (see the previous Annoyance, "Recover a Document After a Crash"). If you close a document normally, Word deletes its AutoRecover document. If you've lost work in Word documents to crashes, chances are you now save the active document whenever you've made any changes to it that you want to keep. (Yes, I too obsessively press Ctrl+S at the end of each burst of typing.) In this case, AutoRecover offers little benefit. To turn it off, choose Tools Options, click the Save tab, and uncheck the "Save AutoRecover info every box. If you tend to forget to save your documents, make sure the "Save AutoRecover info every" box is checked and set a suitable length of time in the Minutes drop-down list. The default is 10 minutes, which is fine if you're poking at a document. If you're typing 100 words per minute, shorten the interval and check "Allow background saves" so that you can keep working through most of the AutoRecover process. (Of course, you're better off saving your documents more frequently.) Word saves AutoRecover documents using the name AutoRecovery save of <document's name>.asd . For example, the AutoRecover document for a file called Benefits statement.doc would be named AutoRecovery save of Benefits statement.asd . Word saves AutoRecover documents in the folder specified in the "AutoRecover files" line of the File Locations tab of the Options dialog box (Tools Options). The default location for Word 2003 is your %userprofile%\Application Data\Microsoft\Word folder.
Open Files Saved in Another FormatThe Annoyance:Back when the TRS-80 was pretty hot, I had a much smaller computer from a maker that's long since disappeared. I've still got a handful of floppies with documents I created back thenin whatever format that computer used. I'd like to open the documents in Word for a quick trip down Memory LaneI mean, to write my memoirs. The Fix:Sure, go right ahead. Word will try to identify the converter needed. If there's an issue with the encoding, Word displays the File Conversion dialog box (Figure 2-11 shows an example) so that you can choose the correct encoding for the document. Figure 2-11. When opening a file saved in another format, you may sometimes need to choose the correct encoding.Depending on the format that the old computer used for saving text, you may get pure text, text with some formatting codes, or text in what appears to be an advanced state of decomposition. Even if the text is adulterated, you can clean it up easily enough in Word by using a sequence of find-and-replace operations. The easiest way to do this is to record a macro as you perform the necessary replaces and then run it on each of the documents in turn. You might also consider inserting all the documents into a single document so that you can clean them up all at once. Tip: If you have documents created by a custom word processor in a format that Word can't read, and you still have access to the word processor, try saving the documents in a format that Word can read. Most word processors offer common formats such as Text Only and Rich Text Format (which includes standard formatting such as bold, italic, fonts, and alignment). Batch-Convert Many Files Between FormatsThe Annoyance:My company switched from WordPerfect to Word, which is okay. Nothing could be simpler than opening all those old WordPerfect documents and converting them to Word documents...except that there are about 10,000 of them, and I'm going to be here all weekend doing it! The Fix:Relax. This is the kind of operation you can easily automate with a macrobut you don't need to, because Microsoft provides the Batch Conversion Wizard for you. First, see if the Batch Conversion Wizard is installed on your computer. Choose File New On My Computer (in Word 2003) or File New General Templates (in Word XP) to display the Templates dialog box. In Word 2000, choose File New to display the New dialog box. Click the Other Documents tab and see if the Batch Conversion Wizard is listed. If the Batch Conversion Wizard isn't installed, install it. Choose Start Control Panel Add or Remove Programs, select the Office item, and then click the Change button. Select the Add or Remove Features option, and choose the advanced customization option. At the advanced customization screen, expand the Microsoft Word item and the Wizards and Templates item under it. Click the More Wizards item and select "Run all from my computer from the shortcut menu. Finish the installation, return to the Templates (or New) dialog box, and click the Other Documents tab. Select the Batch Conversion Wizard item and click the OK button. The wizard creates a new template and displays a dialog box (see Figure 2-12). Follow the procedure for specifying whether you want to convert to Word or from Word, designating the source folder and destination folder, selecting the files, and setting the conversion running. Figure 2-12. The Batch Conversion Wizard enables you to convert a batch of files to or from Word in a single operation.Make Local Copies of Documents on Network or Removable DrivesThe Annoyance:My company has several offices, and the way the servers are set up, it's hard to tell which document is on a local server and which is on a remote server. Opening a document on a remote server not only takes ages, but sometimes the connection fails when I'm trying to save changesso I lose my work. The Fix:If you don't know how fast a connection you'll have with the server that's providing the file, the easiest fix is to use Windows Explorer to copy the file to your hard disk. When you've finished working with it, copy it back to the server. This two-step process is tedious but effective, and it works with all versions of Word. Word XP and Word 2003 include an option intended to help you avoid losing data when working with remote files. Choose Tools Options, click the Save tab, check the "Make local copy of files stored on network or removable drives box, and click the OK button. In theory, that should take care of the problem, but Word is more complicated than that. First, Word interprets "removable drive" to mean a drive with a total capacity of 3 MB or lessin other words, a floppy drive. Zip or other removable disks, memory cards, and CDs don't qualify. Second, if the drive does have a capacity of 3 MB or less, Word copies the file to your Temp folder anyway, regardless of whether the "Make local copy of files stored on network or removable drives" box is checked or unchecked. In other words, the option really applies only to network driveswhich, luckily, is probably what you're most interested in anyway. Tip: Word automatically makes a copy of any file you open from a floppy because a floppy disk has such a low capacity that it will quickly become full if Word stores temporary files on it. Floppy disks also read and write data far more slowly than hard disks, so storing a copy and keeping the temporary files on the hard disk is much more efficient. Once you've checked the "Make local copy of files stored on network or removable drives" box, Word makes a local copy each time you open a file from a network drive. The temporary document is stored in a temp file with an auto-generated name with the .tmp extension (for example, ~WRC1744.tmp ) in your %userprofile%\Local Settings\Temp folder. As you make changes to the document, Word uses the temporary file as its reference file instead of using the document on the network drive. When you save the document, Word saves the changes in the temporary file and then saves them to the network drive. (Word saves the changes in the temporary file first in case the network drive has become unavailable.) When you close the document, Word deletes the temporary file.
Understand Document LockingThe Annoyance:I work in an office, and my colleagues frequently manage to keep open the documents I want to work on, leaving me stuck with the File in Use dialog box and the choice of Read Only, Notify, or Cancel. The Fix:When someone opens a document, Word creates a locking file called an owner file to prevent anyone else from opening the document until the first person closes it; Word then deletes the owner file, removing the locking. (See the sidebar "Understanding Temporary Files," earlier in this chapter for more on Word's owner files.) If you want to work with (i.e., change) a locked document, there's no real solution other than tracking down whoever opened it and asking that person to close the file. The owner file contains that person's name, but the information is taken from the User Information tab of the Options dialog box, so it may not be correct. At least the choice Word offers you when you try to open a locked file (Figure 2-13) is marginally better than the old "Abort, Retry, Fail?" error message, one of the banes of DOS users. You have three options:
Figure 2-13. Only one person can work on a document at the same time. If you try to open a document that someone else already has open, Word displays the File in Use dialog box.Figure 2-14. If the original document becomes available, you can open it and then decide whether to abandon any changes you've made to the copy you've been editing.Figure 2-15. If you've changed the read-only copy of the file, click Save As in the File Changed dialog box to save your edits in a new file. You can then merge them into the original document.Deal with Spurious "File in Use" MessagesThe Annoyance:I get a "File in Use" error when I know that nobody else has the document open. The Fix:This error means that the owner file (see the previous Annoyance, "Understand Document Locking") hasn't been deleted as it should have beenfor example, because Word or Windows crashed, or because the PC suffered a power outage . If the error message says the file is in use by "another user" rather than giving the user's name, the owner file has probably been corrupted. To deal with this error, delete the owner file. The crash or outage will probably have left stray temporary files as well, so it's a good idea to clean these up, too:
|