Try this
' This next part is all ONE line
Private Declare Function tapiRequestMakeCall& Lib "TAPI32.DLL" (ByVal
DestAddress$, ByVal AppName$, ByVal CalledParty$, ByVal Comment$)
Private Sub Command1_Click()
retval& = tapiRequestMakeCall&("5555", "", "Trey", "")
End Sub
Quote:
>Hello,
>I'm busy creating a program that contains different phonenumbers.
>I would like to program in a way that you can click on a name (or button)
>and that the program automatically dials the number...
>(And then you can pick up the phone and speak....)
>any suggestions ?
>Thanks !