We help IT Professionals succeed at work.

Use wininet to connect to the internet

isnoend2001
isnoend2001 asked
on
Medium Priority
219 Views
Last Modified: 2012-06-27
I need code that will check if connected to the internet and if not connect them no matter what they use eg Dial-up or Lan or? Then disconnect.
Seen a lot of Wininet examples, but not sure if they work for only dial-up
Comment
Watch Question

IT Pro/Developer
CERTIFIED EXPERT
Top Expert 2008
Commented:
Have a look on this example http://www.developerfusion.co.uk/show/1909/

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks jpaulino
I no longer need code to check if they are connected. The link you provided opens the prompt for them to
connect. I want to connect them without the prompt. And disconnect
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.