Toggle show hidden and system files
I normally prefer to work with hidden and system files not visible, however very often there is a need to view such files. Normal way of enabling this via Widows Explorer (ALT + Tools > Folder Options > View) is way too many clicks for my liking.
Here is a simple vbscript which will toggle show hidden and system files option with a single click:
Dim isHiden, strHidden, strSystem
Dim WshShell
On Error Resume Next
strHidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
strSystem = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\SuperHidden"
Set WshShell = WScript.CreateObject("WScript.Shell")
isHiden = WshShell.RegRead(strHidden)
If isHiden = 2 Then 'currently hidden
WshShell.RegWrite strHidden, 1, "REG_DWORD"
WshShell.RegWrite strSystem, 1, "REG_DWORD"
WScript.Echo "Hidden and System file will be shown"
Else 'not currently hidden
WshShell.RegWrite strHidden, 2, "REG_DWORD"
WshShell.RegWrite strSystem, 0, "REG_DWORD"
WScript.Echo "Hidden and System file will NOT be shown"
End If
Sage 50 Accounts - Remove company from Select Company List
There is no obvious way to remove a company from "Select Company" list in Sage Account 50.
This is how I resolved this:
- Close Sage Accounts
- Navigate to: C:\ProgramData\Sage\Accounts\2008\COMPANY
- Open file COMPANY with notepad (or other text editor). You will see paths to all companies which appear in "Select Company" list.
- Delete line with the path to company you wish to remove and save the file
- Open Sage Accounts and company in question will be gone from the list
Sage 50 Accounts 2008 Pro
Windows 7 Pro
Word 2010 error - "Word Can Not Open this Document Template (C:.\...\14\Built-In-Building Blocks.dotx)"
Error message "Word Can Not Open this Document Template (C:.\...\14\Built-In-Building Blocks.dotx)" appears when trying to add page numbers or doing other operations related to headers and footers.
This is often caused by corrupted Building Blocks.dotx file.
- Close Microsoft Office
- Navigate to: "C:\Users\<user.name>\AppData\Roaming\Microsoft\Document Building Blocks\1033\14" and delete two files:
Building Blocks.dotx
Built-In Building Blocks.dotx - These files will be re-created by MS Word automatically.
Windows 7
MS Word 2010
Nitro PDF 6 - page numbers disappear
Had a simple task of adding page numbers to a PDF file. Normally I use NitroPDF for this sort of PDF edits and normally it works well. This time, however, NitroPDF refused to play nicely. PDF document was quite large and contained some maps with mixture of high resolution raster and vector graphics (which I suspect was causing the whole issue).
Page numbering feature in NitroPDF is called Bates Number.
After adjusting settings and clicking apply, page numbers would temporarily appear (while progress bar was displaying "Applying bates numbers").
But once process was finished, page numbers were gone.
It seemed like NitroPDF was failing on pages with above mentioned maps as adding numbers to a page range which not included these maps worked fine. Trying to add numbers via Header & Footer feature failed as well. In this case NitroPDF would simply crash.
- Setup TrixBox (Asterisk) to accept dialling from MS Outlook 2010
- Darik's Boot and Nuke HDD wipe hangs on "PCI (sysfs)"
- Transfer windows 7 desktop gadgets between computers
- MS Word 2010 - Comments text in track changes balloon very small
- Recovering corrupted word document (.doc) which causes Word to hang on opening
- Email recipients get mysterious winmail.dat attachments
- HP LaserJet 5550 fails to print multiple copies
- Move Windows 7 BootLoader to another disk
- Location of icon files in windows 7
- Fixing Blue Screen "Stop: C0000218 {Registry File Failure}" in Windows XP