I want to get the username for the current user and then create a link in my application name
the link would look like
http://localhost/?id=username
I tried
Dim objNetworkSet
objNetwork = CreateObject("WScript.Network")
But it’s not supported in HTA applications
As it’s prefix indicates, “objNetwork” is an object. So use “Set” to assign to the variable.
Assuming you want to set the link at runtime/on the fly:
P.S. Look here for the same mistake. Seems to be a bad day for this feature of VBScript.