|
-
Nov 1st, 2001, 07:32 AM
#1
Thread Starter
New Member
Get Server name with API
Can I get the server name I am hooked up to using an API call or is ther another method of doing it ?
Thanks in advance.
-
Nov 1st, 2001, 08:22 AM
#2
Check out the Network/Internet section of this link
http://www.freevbcode.com/default.asp
-
Nov 1st, 2001, 08:25 AM
#3
I just found this one too. It might have potential for what you want.
http://www.vb2themax.com/Item.asp?Pa...at=1700&ID=197
-
Nov 1st, 2001, 08:47 AM
#4
Thread Starter
New Member
-
Nov 1st, 2001, 03:32 PM
#5
Junior Member
Dim strCompName, strDomain, WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
StrCompName = WshNetwork.ComputerName
StrDomain = WshNetwork.UserDomain
This may or may not help... but I hope it does..
Josh
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
|