Question : TAPI in VB.NET

Is there anyone to give me introduction in using TAPI with VB.NET.
You may refer good links, which gives detail info.

The more info you give the more points i give.

Answer : TAPI in VB.NET

Here is VB6 code. You can change it to .NET

Private Declare Function tapiRequestMakeCall Lib "TAPI32.DLL" (ByVal Dest As String, ByVal AppName As String, ByVal CalledParty As String, ByVal Comment As String) As Long
Private Sub PhoneCall(sNumber As String, sName As String)
    Dim lRetVal As Long
    lRetVal = tapiRequestMakeCall(Trim$(sNumber), App.Title, Trim$(sName), "")
    If lRetVal <> 0 Then
        'Couldn't make the call.
        'Take appropriate action
    End If
End Sub
Private Sub Form_Load()
    PhoneCall "123456", "TheName"
End Sub
Random Solutions  
 
programming4us programming4us