pyromatt
asked on
Workgroup Name
Hi,
Ive read in many places how to get the local computer name, but how do i get the workgroup name? It needs to work on all windows OSs.
Matt.
Ive read in many places how to get the local computer name, but how do i get the workgroup name? It needs to work on all windows OSs.
Matt.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
also the windows scripting runtime didnt show in my refernces, i had to use Windows Script Host Object Model. so does this change between different OSs and configurations and will this affect the program?
It should work Fine on Windows 98, Windows 2000, Windows NT >4, Windows XP
It will only work on Windows 95 if the user has Windows Scripting Installed.
-Brian
It will only work on Windows 95 if the user has Windows Scripting Installed.
-Brian
I am running XP Home.
The code above references a Vxd\VnetSup\WorkGroup branch inside of the services branch in order to obtain the workgroup. What if there IS no vxd branch there? Where is the workgroup stored now?
Dan Zumwalt
dzumwalt@symmetricsoftware .com
The code above references a Vxd\VnetSup\WorkGroup branch inside of the services branch in order to obtain the workgroup. What if there IS no vxd branch there? Where is the workgroup stored now?
Dan Zumwalt
dzumwalt@symmetricsoftware
ASKER
Matt.