Editing Macros

Editing Macros in Windows Vista

Macros must be edited manually if you are using PASS 2005 or NCSS 2007 (Version 0) and the Windows Vista operating system.

Details: Windows Vista incorporates a new security measure that creates a virtual subdirectory when a user attempts to write something to the Program Files directory. NCSS currently works by reading and writing settings and macros files to the C:\Program Files\NCSS 2007\Settings directory and the C:\Program Files\NCSS 2007\Macros directory, respectively. When you attempt to edit a macro, the program cannot find the file to be edited if it was saved in the virtual directory. When a macro or template file is saved in Windows Vista running UAC, the file is not saved in the C:\Program Files\NCSS 2007 directory, but instead in the C:\Users\\AppData\Local\VirtualStore\Program Files\NCSS 2007 directory. Solution: Navigate to C:\Users\\AppData\Local\VirtualStore \Program Files\NCSS 2007 and edit the macro files using Notepad. Alternatively, if you have administrative privileges on your machine, you can force Vista to write directly to the C:\Program Files\NCSS 2007 directory by right-clicking on C:\Program Files\NCSS 2007\NCSS2007.exe, selecting "Properties", selecting the "Compatibility" tab, and checking the box next to "Run this program as an administrator". Recommendation: Upgrade to PASS 11 and/or NCSS 8.

"I have used NCSS since it was NCSS 2000. Absolutely love it."

Dr. William Kennedy, Consultant

"PASS is a great program. It does so much and is easy to use. It’s much better than the other sample size programs I’ve used—it has helped me greatly in my research."

Ken Lawson, Ph.D., The University of Texas