I am writting a program that opens up a website, and then is supposed to wait say...2 minutes for the user to look at the website, then to automatically go to a new website. Now I have a few questions...
To open IE i am using the command:
System.Diagnostics.Process.Start("http://www.yahoo.com")
Is there a better way to do that.
Also, what is the syntax to use to make the program wait...say... 120 seconds after going to that site before executing the next command.
Finally, I found that command via a google search. If i use the same command with a different address, will it open a new window or use the current one. I need it to keep the SAME window open and just change the URL. How would I go about doing that?
Any advice is appreciated.
Its kind of like an auto surfer that would give someone a tour of the basic sites on the net that everyone should know, like search engines, etc. Thats what Im going for. Any advice would be appreciated.
Thanks
To open IE i am using the command:
System.Diagnostics.Process.Start("http://www.yahoo.com")
Is there a better way to do that.
Also, what is the syntax to use to make the program wait...say... 120 seconds after going to that site before executing the next command.
Finally, I found that command via a google search. If i use the same command with a different address, will it open a new window or use the current one. I need it to keep the SAME window open and just change the URL. How would I go about doing that?
Any advice is appreciated.
Its kind of like an auto surfer that would give someone a tour of the basic sites on the net that everyone should know, like search engines, etc. Thats what Im going for. Any advice would be appreciated.
Thanks
Last edited by a moderator: