iecapt.exe在Web服务器上不起作用. [英] iecapt.exe not working on webserver.

查看:90
本文介绍了iecapt.exe在Web服务器上不起作用.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作一个可以捕获网页的应用程序.为此,我在我的Web应用程序中使用iecapt.exe.当我在本地主机上运行它时,它可以正常工作,但不能在Web服务器上运行.

无论如何,我可以在Web服务器上运行它还是可以在Web服务器上运行?我不确定.

此应用程序的目的是捕获div或页面并将其另存为Imaage文件(Jpeg或Png).

如果有任何其他方式,我可以实现目标.

谢谢

对不起,我想我应该再解释一下我的问题.我在这里想要做的是让用户选择上传要设置为div背景的图像.现在,用户可以在div上放置多个文本编辑器"并输入文本.

现在,我们有了一个带有背景图像和文本的div.现在,我想将该div导出为.png或.jpeg文件.

I am trying to make a app which can capture a webpage. For that i am using iecapt.exe in my web application. When i am running it in my localhost its working fine but its not working on web server.

Is there anyway i can run it on webserver or does it work on webserver?? I am not sure.

The purpose of this app is to capture the div or page and save it as an Imaage file(Jpeg or Png).

If there in any other way i can achieve the goal.

Thanks

Sorry I think i should explain my problem a bit more. What i m trying to do here is I have give option to the user to upload a image which i am going to set as background of a div. Now user can drop multiple Text Editor on the div and input the text.

Now we have a div with a background image and text in it. Now i want to export that div as it is to a .png or .jpeg file.

推荐答案

Here[^] is a tutorial, basically you need to run a web browser control and point it to a page, in order for the program you were using to work, or for any code to work. The fact you''re on the server, with HTML that has not yet been rendered, is the reason your control does not work. It does not care that you''re on a web server, but it DOES care that it wants to work with a web browser pointed to a page, not a web server sending one out as text.


这篇关于iecapt.exe在Web服务器上不起作用.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆