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 評論: 1 | 引用: 0 | 查看次數: 4207
發表評論
訂閱
上一篇
下一篇








