[Last Call] Learn how to a build a cloud-first strategyRegister Now


Use wininet to connect to the internet

Posted on 2007-07-19
Medium Priority
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
Question by:isnoend2001
LVL 48

Accepted Solution

jpaulino earned 1000 total points
ID: 19529479
Have a look on this example http://www.developerfusion.co.uk/show/1909/

Author Comment

ID: 19531957
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month18 days, 6 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question