微软专家看过来
Recently, I have wrote an Activex control. package it and implement for script and initialize safety.
the control who have a property named "msgstr",pass what's the control needs information to work. following code diaplay how i use it.
<HTML>
<HEAD>
<TITLE>scan.CAB</TITLE>
</HEAD>
<BODY>
<OBJECT ID="scan"
CLASSID="CLSID:C525B9F9-EE7A-4295-8E2B-3269B0AC8624"
CODEBASE="scan.CAB#version=1,0,0,2">
</OBJECT>
<script language = "vbscript">
'set the "msgstr" property
scan.msgstr = "10.128.0.7:1234567987"
</script>
</BODY>
</HTML>
open IE,there's an security alert display.both active after i click yes/no.
if there no script or do not set the "msgstr" property, the security alert disappear.but the control needs the "msgstr" property to do.
how can i figure out ?