Hi Friends,
Need your help on this.
There is a DLL registered on the Client Machine.. I am Accessing the DLL
through VBScript on the HTML page. It works fine on one machine and gives
error on the other.I understood that the problem is due to the Browser
settings...
Can anyone tell me what seeting it should be to call the DLL from a HTML
page(Client Side)...
Error am getting is "ActiveX component can't create object"
I tried to call this DLL in a Client Server environment.. It works on all
the Machines...But gives error when called from a HTML page on that
Machine...
See My code...
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE=vbscript>
sub Test
set X = CreateObject("IScanDLL.IScan")
y = X.ScanImage (document.form1.text1.value)
if y = true then
msgbox "Impression Scanned"
else
msgbox "Impression Not Scanned"
end if
End Sub
</SCRIPT>
</HEAD>
<BODY>
<FORM action="" method=POST id=form1 name=form1>
<INPUT type="test" value="" name=text1 >
<INPUT type="button" value="Button" id=button1 name=button1
onclick="Test()">
</FORM>
<P> </P>
</BODY>
</HTML>
Your Help is Very much appreciated..
Thanks,
Pon.