Solved

Running a Dial-up Networking connection

Posted on 1999-01-28
1
143 Views
Last Modified: 2010-05-03
Is it possible (using VB 4) to run a DUN connection in win95? These connections are not exes so I suppose can't be called by RetVal = Shell("C:\....etc. Any hints?
0
Comment
Question by:yung
1 Comment
 
LVL 1

Accepted Solution

by:
carlosvs earned 100 total points
ID: 1471124
Public Sub StartDialUp(sConnectionName As String)
   Dim Res        As Variant
   Res = Shell("rundll32.exe rnaui.dll,RnaDial " & sConnectionName, 1)
End Sub

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

756 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