Solved

Writing dialup software in VB

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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 …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

760 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

23 Experts available now in Live!

Get 1:1 Help Now