I get a "Type Mismatch" for this line of code:

VB Code:
  1. If RegReadSZ(HKEY_LOCAL_MACHINE, strSubKey, "Reg_FirstTime", strRet) <> "No" Then