screen capturing of webpage - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

screen capturing of webpage

shashi_dongareshashi_dongare Posts: 1Member
i am using IECAPT.exe for exporting the web page.IECAPT.exe exports it in image format
I m getting some problems related to IECAPT.exe.It is working perfectly on all operating system.
But when i deploy my ASP.NET application to windows Server 2003 then it is calling IECAPT.exe but exporting blank image with blackborder (frame).
Please help... I know this is rights relatedissue.
But i am not able to rectify it.Even On same server(2003) in debug mode it is working perfectly but not working in is the code for using IECAPT.exe for exporting

private void Export()
string param;
param = "";

string url ;

if (Request.Params["weburl"] != null)
url = Request.Params["weburl"];

Guid path = System.Guid.NewGuid();

string savepath = String.Format(Server.MapPath(".") + "\{0}.png", path);

System.Diagnostics.Process process = new System.Diagnostics.Process();

process.StartInfo.ErrorDialog = true;

process.StartInfo.FileName = Server.MapPath("bin/IECAPT.exe");

process.StartInfo.Arguments = String.Format(""{0}" "{1}" --delay=10000", url, savepath);

process.StartInfo.UseShellExecute = false ;


/// String strTmp = Server.MapPath("IECapt.exe") + " --url=" + url + " --out=" + savepath ;
// Interaction.Shell(strTmp, AppWinStyle.MinimizedFocus, true, 30000);

// Shell(strTmp, AppWinStyle.MaximizedFocus)


Sign In or Register to comment.