-
http://forums.vb-world.net/showthread.php?threadid=253
Hello again.
I'd like to retrieve the workgroup I am a part of via API.
I can't find anything on it anywhere. The only thing I've found is
http://forums.vb-world.net/showthread.php?threadid=253,
but I'd have to use registry api to read it.
I don't want that.
Does anyone know how I can do it directly?
(Like the GetUserName and GetComputerName api).
-
Nevermind.
Using my registry class module I can just do this:
cWG = RegStuff.GetValue(HKEY_LOCAL_MACHINE, "System\CurrentControlSet\Services\VxD\VNETSUP", "Workgroup")
much easiser ;)
-
A LINK.