myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


           



Script working in Win2k but not Vista...Please help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Scripting Technologies] >> VB Script >> Script working in Win2k but not Vista...Please help Page: [1]
Login
Message << Older Topic   Newer Topic >>
Script working in Win2k but not Vista...Please help - 4/22/2008 9:42:28 AM   
jmorales914

 

Posts: 1
Score: 0
Joined: 4/22/2008
Status: offline
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...:-)


< Message edited by WiseGuy -- 4/22/2008 10:07:51 AM >
Post #: 1
Page:   [1]
All Forums >> [Scripting Technologies] >> VB Script >> Script working in Win2k but not Vista...Please help Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.188