Quote Originally Posted by killerrj8 View Post
hmm i dont know it doesnt work fine ...
i just want to make a project that refreshes the website after 9 seconds also if it is minimized
But now it doesnt send keys at all
Then you're probably using the wrong handle in that code. If it is a web browser control on a VB form you are trying to send the F5 key to then you need to use the web browser control handle, not the forms handle.

If you just need to refresh after 9 seconds then why not just add a timer that runs once, set timer to 9000 and start it when that certain URL is detected in the browser or something.