Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem in using vbscript in tomcat

843793Sep 23 2004 — edited Sep 23 2004
hello 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..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2004
Added on Sep 23 2004
1 comment
378 views