Using Win32 functions in Visual FoxPro Image Gallery
Remote Access Service (RAS)
Code examples:
Displaying the main Dial-Up Networking dialog box
..msdn    Add comment     W32 Constants      Translate this page
The RasPhonebookDlg function displays the main Dial-Up Networking dialog box. From this modal dialog box, the user can dial, edit, or delete a selected phone-book entry, create a new phone-book entry, or specify user preferences. The RasPhonebookDlg function returns when the dialog box closes.
Code examples:
Displaying the main Dial-Up Networking dialog box
BOOL RasPhonebookDlg(
  LPTSTR lpszPhonebook,  // pointer to the full path and 
                         //  file name of the phone-book file
  LPTSTR lpszEntry,      // pointer to the name of the 
                         //  phone-book entry to highlight
  LPRASPBDLG lpInfo      // pointer to a structure that 
                         //  contains additional parameters
FoxPro declaration:
DECLARE INTEGER RasPhonebookDlg IN rasapi32;
    STRING @ lpszPhonebook,;
    STRING @ lpszEntry,;
    STRING @ lpInfo

[in] Pointer to a null-terminated string that specifies the full path and file name of a phone-book (PBK) file.

[in] Pointer to a null-terminated string that specifies the name of the phone-book entry to highlight initially.

[in, out] Pointer to the RASPBDLG structure that specifies additional input and output parameters.
Return value:
If the user selects the Dial button and the function establishes a connection, the return value is a nonzero value.
My comment:
Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.
Word Index links for the RasPhonebookDlg :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2002-08-12 10:20:44
Modified: 2002-08-12 10:22:36
Visited in last 7 days: 41
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
4 sec.Example: 'GDI+: sending image of FoxPro form to printer'
8 sec.Example: 'Creating the Save dialog box to specify the drive, directory, and name of a file to save'
14 sec.Function: 'SetTextCharacterExtra'
18 sec.
Function group: 'GDI+ PathGradient Brush'
23 sec.Function: 'OpenSemaphore'
28 sec.Function: 'InternetSetFilePointer'
32 sec.Function: 'LCIDToLocaleName'
37 sec.Function: 'CertOpenSystemStore'
Function group: 'Cryptography Reference'
41 sec.Function: 'InternetGoOnline'
45 sec.Function: 'GetPrinterDriverDirectory'
Advertise here!