|
-
Jul 15th, 2000, 04:56 PM
#1
Thread Starter
Addicted Member
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).
-
Jul 15th, 2000, 05:20 PM
#2
Thread Starter
Addicted Member
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
-
Jul 15th, 2000, 05:44 PM
#3
Addicted Member
If you can't pronounce my name, call me GURU 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|