i want to capture event from vb dll file in javascript,actually i can already access all the function of that dll from javascript but i don know how to capture event raised by ny vb dll file in my web page from javascript............if u have any solution plz post it as early as possible.
my code is as follows
[HTML]<html>
<head>
<title></title>
</head>
<SCRIPT language="javascript">
function comEventOccured()
{
var msg;
var obj =new ActiveXObject("e3_TestProj4ASP.e3_Test");
obj.GetUCaseStr("super"); // function that raises the custom event
// UppercaseStr(msg)
)
function UppercaseStr(msg)
{
alert(msg);
document.write(msg);
alert("After Event");
}
</SCRIPT>
<body>
<INPUT TYPE=button value=MethodCall onClick="comEventOccured()">
</body>
</html>[/HTML]
************************************************** **********************************
e3_TestProj4ASP.dll
UppercaseStr(msg) is the event raised in Vb dll as
raiseEvent UppercaseStr(msg)
msg is the dim variable returned by my event, so whenever i capture it i need to have the value of that msg variable.
thanx