Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running a Dial-up Networking connection

Posted on 1999-01-28
1
Medium Priority
?
148 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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 Month12 days, 19 hours left to enroll

972 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