Solved

Writing dialup software in VB

Posted on 1998-07-25
1
162 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now