Problem in using vbscript in tomcat
843793Sep 23 2004 — edited Sep 23 2004hello friends,
I dont know wheather it is appropriate place to post thhi message,
i have written html file in that i have written a small vbscript code which reads the registry in windows operating system.It really works when i call directly [ Double click ].when i call using tomcat server[ http://localjost:8080/callregistry.html ]
Its giving ActiveX object can't be created "wscript.shell" run time error is coming
Code i have written is
Dim values,shell
Set shell = CreateObject("wscript.shell")
On Error Resume Next
values=shell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\My Application\")
NotAvailable=IsEmpty(values)
if (NotAvailable) then
msgbox "Folder Not avaialable in the registry"
else
msgbox "Folder avaialable in the registry"
end if
Is it a problem with tomcat or some other stuff. Please help me out.Thanx in advance.
regaurds
Logu..