<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<object id="aa" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" width="0" height="0"></object>
<body>
<B><a onclick=javascript:aa.ExecWB(4,1) href=#><font color="#333333">保存本页</font></a></B>
sdfsdf
</body>
</html>
把它存为html文件,点保存本页就可以调用了
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<object id="aa" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" width="0" height="0"></object>
<body>
<B><a onclick=javascript:aa.ExecWB(4,1) href=#><font color="#333333">保存本页</font></a></B>
sdfsdf
</body>
</html>
把它存为html文件,点保存本页就可以调用了
<input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
可以给个ExecWB方法的范例吗?