Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

Writing dialup software in VB

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
PRASHANT030997
Asked:
PRASHANT030997
1 Solution
 
watyCommented:
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now