i’m using the following code to open site in internet explorer
ProcessStartInfo startInfo = new ProcessStartInfo
{
Arguments = "http://www.cnn.com",
FileName = "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
RedirectStandardInput = true,
UseShellExecute = false
};
System.Diagnostics.Process process = System.Diagnostics.Process.Start(startInfo);
after the web page start i want every few seconds to open (automatically) links inside the web page without to define before the URLs (like web crawler), it’s possible to do it ?
I don’t think so, because you open the browser in different process of your program and it already out of your control. It could be possible if you use WebBrowser Control in your program, read document and find the URLs with something like regular expression.