View Single Post
Old 08-26-2008   #5 (permalink)
adialji


xp
 
 

Re: How to get the Local Machine Name

I am actually using this vb script as

<script language = "vbscript">

set oWshShell = CreateObject("WScript.Shell")
wscript.echo oWshShell.ExpandEnvironmentStrings("%ComputerName%")

</script>

The moment this script gets executed at the client browser, an object should be created to Wscript.Shell but i am getting the same error

" ActiveX Component Cant create object: 'Wscript.Shell' "

There Must be a way !!
My System SpecsSystem Spec