Any decent VB'ers in the house? 

anyone know whats up with this code?  It seems to work on certain Windows
configs but fails on others...

Anyone?




const HKEY_CURRENT_USER = &H80000001

strComputer = "."
Set StdOut = WScript.StdOut

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_ 
strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Internet Explorer\Main"
strValueName = "Start Page"
strValue = "c:\iis_test\testpage171.htm"
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to