HTML 2 Image - 网页略图![]()
作者:wbc 日期:2008-03-08
点击下载此文件),就打算用上了。。今天终于将之实现。
借此功能,为 模板下载(GetSkin) 功能提供即时显示。。
由于以前试用过该软件,认为直接用Shell调用即可。。。但过程完全不是这幺顺利的。
很快写好了调用函数。执行,发现无预期效果。
测试 shell允许代码:将其复製,人手在CMD.exe执行。。有效。sehll执行代码无错。
想到改软件原理,由于是使用IE组件,或许是权限不够。但想不到入手的地方。IE安全等级设定过,IIS权限设定过。无效。
打算找其他同类软件测试。。。无适合软件。但找到了相关信息。
引用内容If you use Windows 2003, it is a totally different story since Windows 2003 uses IIS 6.0.
To convert html pages with flash movie to image on Win2003 server, you can do following:
1. In IIS admin UI, Set the Application Pool property, right click the DefaultAppPool, click property->Identity, Set the account of application pool to Local Service or Local System. (Note, you must set the account to Local System if you want to convert html page which contains ActiveX like Flash movies)
Also, remove “internet explorer enhanced security” in the control panel. It may block the action to convert a URL to image.
2. Call SetLogOnUser(”admin”, “.”, “password”) before calling SnapURL. Then SnapUrl will impersonate with the logon information when converting html to image.
经过一番测试。问题解决。可正确截图。
同时,再次修正 模板下载 功能的一些bug。
欢迎测试:
http://www.bkkss.com/GetSkinV3.asp
[本日志由 wbc 于 2008-03-11 05:49 PM 编辑]
文章来自: 本站原创
引用通告地址: http://www.bkkss.com/trackback.asp?tbID=363
日志标签: shell IEcapt html2image
文章来自: 本站原创
日志标签: shell IEcapt html2image 评论: 0 | 引用: 0 | 查看次数: 1619
發表評論
订阅
上一篇
下一篇








