Solved

Manage dial-up networking from VB

Posted on 2002-05-16
3
171 Views
Last Modified: 2010-05-18
Hi

I have an application which automates online activities. I now want to leave it unattended which means:

1) It will dial up each morning and get online
2) I can check for a live connection before passing automation controls to a collection of IEs (done, thanx Richie)
3) Automatically log back in if a connection has been dropped.

How is this done ? I suspect it is easy I just don't have the information at my fingertips

Regards

Stewart
0
Comment
Question by:nvms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
msfx earned 50 total points
ID: 7054634
Here you'll find a complete DUN-Module (modDUN.bas):
http://w3.one.net/~kevinw/VB/s_modules.htm

"Allows full, low-level access to the Dial-Up Networking (DUN) components on your computer as well as information about Remote Access Server (RAS) connections.  This module also allows you to create and hang-up connections to the internet or a remote server behind the schenes so that the user never has to interact with dialogs."

HTH.
msfx
0
 

Author Comment

by:nvms
ID: 7055443
Thanks for that, I look forward to applying the solution. Great !!!!  Looks like there's some excellent code in there

Stewart : )
0
 

Expert Comment

by:msfx
ID: 7056671
jep. this site contains a lot of useful things...
have fun!
Manuel
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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 Month9 days, 14 hours left to enroll

624 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