Script working in Win2k but not Vista...Please help (Full Version)

All Forums >> [Scripting Technologies] >> VB Script



Message


jmorales914 -> Script working in Win2k but not Vista...Please help (4/22/2008 9:42:28 AM)

Hi guys I'm a desktop engineer packaging in installshield right now, using this vb script that working ok in Win2k.

Problem is,  I need it to work in Vista...Any ideas? Thanks!

strComputer = "."
Set objGroup = GetObject("WinNT://" & "." & "/HIS Runtime Users")
Set objUser = GetObject("WinNT://MRAM/RES-PCT-HISRuntime")
objGroup.Add(objUser.ADsPath)
Wscript.Quit

I'm sorry, but I forgot to say that I really don't know vb at all and the script was gotten from scouring the net...:-)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.2973633