Can anyone get the modem
answer button to show up?
According to the documentation, sending in "" or no parameter into the
Set Net Connection command should trigger the Modem Connect Answer interface.
Any non-null input triggers the modem dialer.
PHONE$=""
Set Window On
Perform Checklist For Net Connections
NC= Checklist Quantity()
If NC > 0
For I = 1 To NC
CONN$= Checklist String$(I)
If Left$(CONN$,3) = "IPX" Then LAN= I
If Left$(CONN$,12) = "Internet TCP" Then WEB= I
If Left$(CONN$,5) = "Modem" Then MODEM= I
If Left$(CONN$,6) = "Serial" Then SERIAL= I
Next I
Endif
Print "Modem ordinal= ",MODEM
Print
If MODEM > 0
Print "Enter Phone # "
Input PHONE$
Print "PHONE#= ",PHONE$
Print
Sync
If PHONE$ <> ""
Set Net Connection MODEM,PHONE$
Else
Rem Half the time try no parameter
If Rnd(1)
Set Net Connection MODEM
Else
Set Net Connection MODEM,""
Endif
Endif
Print
Print "Should have seen the Modem interface."
Else
Print "No MODEM detected."
Endif
Sync
Wait Key
The more you see, the more you know.
The more you know, the more you see.