HOWTO: Programmatically Launching Dial-Up Networking ConnectionLast reviewed: December 18, 1997Article ID: Q168256 |
The information in this article applies to:
SUMMARYUsing the FoxPro RUN command, it is possible to programmatically launch a Windows 95 Dial-Up Networking connection.
MORE INFORMATIONThe following syntax can be used to launch a Dial-Up Networking (DUN) connection:
RUN /N Rundll Rnaui.dll,RnaDial <your DUN connection name>For a connection named Test, use the following command to launch this connection:
RUN /N Rundll Rnaui.dll,RnaDial TestThe function call RnaDial and the connection name are both case sensitive. NOTE: Although there is a function within the Rnaui.dll file that enables you to programmatically dial, a function that allows you to programmatically disconnect is not available. To view the functions available within Rnaui.dll or any .dll file, find the file, use the right mouse button (right-click) to select the file, and select QuickView. You can view the available programmatic functions from the listing under Export Table. If QuickView is not available as a selection then QuickView needs to be installed. You can install QuickView using the Control Panel by selecting Add/Remove Programs, and then selecting the Windows 95 (or Windows NT) Setup tab. Next, click Accessories and select QuickView. Below is the Export Table of available functions from the Rnaui.dll file:
Export Table ------------ Name: Rnaui.dll Characteristics: 00000000 Time Date Stamp: 320c06ce Version: 0.00 Base: 00000001 Number of Functions: 00000009 Number of Names: 00000009 Ordinal Entry Point Name ----------------------------------------- 0000 0000773e DllCanUnloadNow 0001 00002a80 DllGetClassObject 0002 00007880 Remote_CreateEntry 0003 000029ef Remote_CreateInstance 0004 00003988 Remote_EditEntry 0005 00003260 Remote_Notify 0006 000031b9 RnaDial 0007 000031da RnaRunImport 0008 00007a6a RnaWizard REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q135338 TITLE : How To View Exported Functions in a DLL Keywords : FxenvOs vfoxwin kbsetup Version : 3.0 3.0b 5.0 5.0a Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |