Microsoft KB Archive/101007

From BetaArchive Wiki

DIALER.PRG Syntax Is Incorrect

ID: Q101007

2.50 2.50a 2.50b 2.60 WINDOWS kbprg kbdocerr

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SUMMARY

In the GOODIES\FOXTOOLS\DIALER.PRG program, there is a error in the syntax for the ATDT modem command. The following statement

   s = "ATTD 5551212" + chr(13)

should read as follows:

   s = "ATDT 5551212" + chr(13)

If the DIALER.PRG program is run as is, no error message will appear but the program will not function correctly. Some modems do not support this syntax. If this program is used with a modem that does not support this syntax, an error message may appear.

Microsoft has confirmed that this documentation error occurs in the DIALER.PRG program.

MORE INFORMATION

ATDT is a common modem command that needs to be issued before the phone number:

   AT  stands for "attention to" (to get the attention of the modem)
   D   to get the modem in a state ready to dial
   T   stands for touch-tone dialing (P is used for pulse)

Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 docerr KBCategory: kbprg kbdocerr KBSubcategory: FxprgGeneral

Keywords          : FxprgGeneral 
Version           : 2.50 2.50a 2.50b 2.60
Platform          : WINDOWS

Last Reviewed: April 30, 1996
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.