>>Hi everybody,
>>
>>Dim objWSHShell
>>Set objWSHShell = Server.CreateObject("WScript.Shell")
>>ReadComputerName = objWSHShell.RegRead ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName")
>>
>>Thanks in advance.
>
>Through ASP on the server? Because the authenticated user does not have permissions?
>
>I haven't tried instantiating the WScript.Shell, but you may need to fiddle with the permissions for the web site/virtual directory.
Could you please elaborate more? Did you try to run it from ASP on your computer? Or from VB?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog