Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Code that uses the tapiRequestMakeCall API functio...
Author:
Zack O'Neal
E-mail:
Click to e-mail author
Submitted:
6/26/2000
Version:
VB5
Compatibility:
VB5, VB6
Category:
Windows API
Views:
22885
Code that uses the tapiRequestMakeCall API function to dial a phone number from your VB app.
Declarations:
Declare Function tapiRequestMakeCall Lib "tapi32.dll" _ (ByVal stNumber As String, ByVal stDummy1 As String, _ ByVal stDummy2 As String, ByVal stDummy3 As String) As Long
Code:
'Following function receives a phone number to dial. Function DialNumber (PhoneNumber) Dim Msg As String Dim RetVal As Long ' Send the telephone number to the modem. RetVal = tapiRequestMakeCall(PhoneNumber, "", "", "") If RetVal < 0 Then Msg = "Unable to dial number " & PhoneNumber End If End Function
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2023 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement