>Missed the obivious the first time through. Try
lcOpenKey = "System\CurrentControlSet\Control\ComputerName\ComputerName\MyNewReg"
Too many backslashes.< s >
George,
That did the trick. That will teach me to cut and paste code from C++
Thanks again.
Mike