Jump to content

Open webbrowser,load website,close browser. help!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
neraniggy

neraniggy

    Newbie

  • Members
  • Pip
  • 7 posts
Hello!

Anyone know how you do so by clicking a button it opens your webbrowser then loads a site and once that website is done loading the browser automatically close again?
and after that it will do the same thing as before until I close the program. so it will keep on goin..
I dont even know if this is possible, would appreciate help.

#2
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
You could simply add a webbrowser object to your form and work with that. If you actually want to to open the webbrowser separately you can create a new process (dim myProcess as new process) start it with a url as its path and then kill it when you're done.

#3
neraniggy

neraniggy

    Newbie

  • Members
  • Pip
  • 7 posts
I got it to work with a timer. :c-thumbup:
I have set it to open a browser,load a site and then close it repeatedly. 100 times.
But I want to add a checkbox and when that is checked it would only do that 50 times.
I get it to stop open/close browser at 50 but then it keeps opening the website in a new tab until it reaches 100.
And I want to have a another checkbox and when that is checked it will start all over again when it reached 100 without me pressing a button..

Hope someone could give me some hints.


Thanks

#4
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
It's impossible to know why it doesn't work without looking at your code.