Quote:
Originally Posted by joefawcett
If the DLL supports being called from script then you need:
Code:
var recorder = new ActiveXObject("Soundclass.Soundrec");
recorder.startRec();
This will only work on Internet Explorer and only if the user has allowed ActiveX to run. (There are two settings, one for safe ActiveX and another for unsafe ActiveX. Most users allow safe ones by default but I imagine that this control if unsafe so would only be suitable for an intranet scenario where you have some degree of control over the settings.)
|
Hi Joe
I have tried using your example and nothing happens here is the example of how I tested it please advise
"<script type="text/javascript">
var test = new ActiveXObject("Soundclass.Soundrec");
test.startRec ();
setTimeout("test.stoprec()",5000);
</script>
"