?
Solved

Writing dialup software in VB

Posted on 1998-07-25
1
Medium Priority
?
168 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
[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
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 20 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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 Month13 days, 1 hour left to enroll

777 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