Solved

Manage dial-up networking from VB

Posted on 2002-05-16
3
170 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

710 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