Solved

Writing dialup software in VB

Posted on 1998-07-25
1
165 Views
Last Modified: 2010-05-03
I wish to write a software in VB4 or VB5 which will dial a perticular phone number thrrough modem and upon a connection make, it should send username and password to the number being called and establish a PPP connection.

I can very well use an existing dialup adapter in 95, but I cannot have a control to check whether a healthy connection is done or not ,, or username & password are accepted or not.. so that on that basis, I wish to fire different different applications.
All this is in context with a local ISP , to which when the client connects, he must give username & password in order to get through..

OR,, is there any OCX to carry out PPP dialing and get the required events.. or I should use Com port control ocx which is present there in VB4 or VB5..

Thanx in advance

Prashant
0
Comment
Question by:PRASHANT030997
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 10 total points
ID: 1466639
You could try this

Private Sub cmdDialUp_Click()
   Dim DialUp As Long
   DialUp = Shell("rundll32.exe rnaui.dll,RnaDial " & "Connection", 1)
   SendKeys "{ENTER}"
End Sub

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using Access 8 76
Adding to a VBA? 6 78
Help with retrieving partial value from a column using VB.NET 4 51
Zip Folders Using Chilkat Routines 1 59
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…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

821 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