DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: how to open internet connection dailog box

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    how to open internet connection dailog box

    [Originally posted by XXX]

    how to open internet connection dailog box NOT the internet options dailog box.

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:how to open internet connection dailog box

    [Originally posted by Angchuk]

    If u r looking for the Dial-up Internet connection

    Public Sub Connect(strConnectName As String, blnPressConnect As Boolean)
    Dim DialFound As Boolean
    DialFound = CBool(FindHandle("Connect To"))
    If Not DialFound Then
    Shell "rundll32.exe rnaui.dll,RnaDial " & strConnectName, 0

    If (blnPressConnect = True) Then
    DoEvents
    SendKeys "{ENTER}"
    End If

    End If
    End Sub

    Private Sub cmdConnect_Click()
    Connect "MyConnection", True
    End Sub

    Function Connect opens the dial-up dialog box and chooses the MyConnection , If true is passed it automatically starts dialing, else...

    Hope it helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center