How to dial the phone number with VB5 
Author Message
 How to dial the phone number with VB5

Good day to all, I am desperatly trying to dial a phone number thru code but
it does not work.
Her is below my code for the cmdDial_click event

PhoneNumber$ = txtNumero.Text
        If optPort1.Value = True Then
            Open "COM1" For Output As #1
            Print #1, "ATDT" & PhoneNumber$ & Chr$(13)
            Close #1
        End If
        If optPort2.Value = True Then
            Open "COM2" For Output As #1
            Print #1, "ATDT" & PhoneNumber$ & Chr$(13)
            Close #1
        End If
        If optPort3.Value = True Then
            Open "COM3" For Output As #1
            Print #1, "ATDT" & PhoneNumber$ & Chr$(13)
            Close #1
        End If
        If optPort4.Value = True Then
            Open "COM4" For Output As #1
            Print #1, "ATDT" & PhoneNumber$ & Chr$(13)
            Close #1
        End If

Theorically, it should work easily as it did in VB4-32 but in VB5????????
Not at all

Am I missing something ??

Daniel Caron
Thetford Mines,Qc,Canada



Sat, 10 Feb 2001 03:00:00 GMT  
 How to dial the phone number with VB5
Daniel,

Quote:
>Good day to all, I am desperatly trying to dial a phone number thru code
but
>it does not work.

Check out the AutoDial sample code on our web site. It does this in a very
simply way utilizing a subset of TAPI.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com



Sun, 11 Feb 2001 03:00:00 GMT  
 How to dial the phone number with VB5
Thanks...I got it now.
Quote:

>Daniel,

>>Good day to all, I am desperatly trying to dial a phone number thru code
>but
>>it does not work.

>Check out the AutoDial sample code on our web site. It does this in a very
>simply way utilizing a subset of TAPI.

>--
>Jonathan Wood
>SoftCircuits Programming
>http://www.softcircuits.com



Sun, 11 Feb 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to dial a phone number with VB5

2. Dialing a phone number thru code with VB5

3. How can I dial a phone number?

4. dialing phone numbers troght modem

5. dialing phone numbers

6. Dialing Phone Numbers

7. Ques: How to Retrieve Dial-Up Networking (Usernames, Passwords, Phone Numbers)

8. German Software Group: Simple dialing phone number

9. simply dialing a phone number...

10. Dialing a phone number

11. How to Dial a phone number?

12. Dial a phone number

 

 
Powered by phpBB® Forum Software