Click here to Skip to main content
15,888,253 members
Articles / Programming Languages / VBScript
Article

Creating your first TAPI application

Rate me:
Please Sign up or sign in to vote.
3.47/5 (37 votes)
4 Nov 20012 min read 605.2K   21.6K   63   114
This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own.

Sample Image - tapi.jpg

Introduction

This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own. Microsoft provides more than 100 functions as part of the TAPI library. TAPI 2.1 was more difficult to use as it was a set of API functions but TAPI 3.0 which comes as part of Windows 2000 has ActiveX controls that make the TAPI application creation much easier. The TAPI SDK that can be downloaded from the Microsoft site provide several samples which show the usage of TAPI functions in VB, JAVA and C++. Learning to use different TAPI functions require lot of time investment but once you create some applications using these TAPI functions, it becomes easier for you to use the TAPI functions more efficiently.

Requirements to run this sample code

This application uses the Windows Phone Dialer utility that comes with Windows and can be found under the Accessories group. That program will act as the call manager and will handle the dialing of the phone number that is passed to the tapiRequestMakeCall function.

Running the program will invoke the call manager, and the call manager then dials the number entered in the textbox.

Before running the sample code, make sure that the modem is installed in your machine. Also, to experiment with other TAPI functions, download the complete TAPI SDK (if its not already available on your computer) from the Microsoft site. Several third parties develop tools that make the creation of telephony applications much easier. If you are a serious TAPI developer then you must download the third party tools from the Internet or dwell into the TAPI SDK yourself to get a thorough understanding of the telephony functions.

You can download TAPI software free of cost from the Microsoft site.

TAPI2195.exe is the TAPI implementation for Windows 95, and TAPI21NT for Windows NT. Download and install the one that is appropriate for your computer.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Pakistan Pakistan
S.S. Ahmed is a senior software engineer and works for a web and software development firm. Ahmed is a Microsoft Office SharePoint Server MVP. Ahmed specializes in creating database driven dynamic web sites. He has been creating customized SharePoint solutions for the last five years. Ahmed has worked in Visual Basic, Visual C, Java, ASP, .NET, SharePoint, InfoPath, BizTalk, etc. Ahmed enjoys travelling and has been to many parts of the world. Ahmed distributes most of his work freely to many internet sites. Ahmed also participates in different newsgroups and tries to help people out with their problems. Ahmed can be reached at share.point@yahoo.com

PEACE

S.S. Ahmed
Web: www.walisystems.com
Blog:www.sharepointblogs.com/ssa

Comments and Discussions

 
Generalgeneral TAPI question Pin
sstoyan17-Feb-04 2:38
sstoyan17-Feb-04 2:38 
GeneralRe: general TAPI question Pin
AhmerSabah4-May-04 22:42
sussAhmerSabah4-May-04 22:42 
Generalreading in a telephone number Pin
straitkat8-Feb-04 18:29
straitkat8-Feb-04 18:29 
GeneralLINEERR_OPERATIONUNAVAIL error from lineGenerateTone Pin
Himanshu Gupta2-Dec-03 9:45
Himanshu Gupta2-Dec-03 9:45 
QuestionCan you help me? Pin
Junming Lee21-Jul-03 21:31
sussJunming Lee21-Jul-03 21:31 
GeneralDetecting a telephone answer Pin
Member 46574613-Jul-03 13:06
Member 46574613-Jul-03 13:06 
GeneralRe: Detecting a telephone answer Pin
shiva tavasoli11-Oct-03 23:05
shiva tavasoli11-Oct-03 23:05 
GeneralRe: Detecting a telephone answer Pin
Member 46574612-Oct-03 8:14
Member 46574612-Oct-03 8:14 
GeneralRe: Detecting a telephone answer Pin
Member 46574612-Oct-03 8:15
Member 46574612-Oct-03 8:15 
GeneralRe: Detecting a telephone answer Pin
kennaru4-Jul-04 22:18
kennaru4-Jul-04 22:18 
GeneralRe: Detecting a telephone answer Pin
Anonymous26-Jan-04 1:40
Anonymous26-Jan-04 1:40 
GeneralCaller ID difficulty Pin
Member 47228211-Jul-03 22:22
Member 47228211-Jul-03 22:22 
GeneralLINEERR_OPERATIONUNAVAIL error from lineGenerateTone Pin
Devpro AB14-May-03 4:54
Devpro AB14-May-03 4:54 
GeneralIP Telephony Pin
Erwin van Zijl14-Apr-03 1:40
Erwin van Zijl14-Apr-03 1:40 
GeneralTAPI in C++ Pin
marco6927-Mar-03 23:45
marco6927-Mar-03 23:45 
GeneralRe: TAPI in C++ Pin
nitmalla9-Oct-03 21:28
nitmalla9-Oct-03 21:28 
GeneralRe: TAPI in C++ Pin
Jigar Mehta25-Jul-04 20:32
Jigar Mehta25-Jul-04 20:32 
GeneralRe: TAPI in C++ Pin
DHARMA.R18-Feb-04 19:49
DHARMA.R18-Feb-04 19:49 
GeneralTAPI en C++ Pin
marco6927-Mar-03 23:40
marco6927-Mar-03 23:40 
GeneralTapi for PocketPc HELP !!! Pin
thitoune24-Mar-03 0:01
thitoune24-Mar-03 0:01 
GeneralRe: Tapi for PocketPc HELP !!! Pin
Anunay Kumar8-Apr-03 23:04
Anunay Kumar8-Apr-03 23:04 
Generalan additional number (TAPI) Pin
Anonymous23-Feb-03 16:33
Anonymous23-Feb-03 16:33 
GeneralDetecting CallerID Pin
OBRon28-Jan-03 5:05
OBRon28-Jan-03 5:05 
GeneralRe: Detecting CallerID Pin
JP van Mackelenbergh3-Mar-03 19:11
JP van Mackelenbergh3-Mar-03 19:11 
GeneralRe: Detecting CallerID Pin
Magikos10-Nov-03 3:53
Magikos10-Nov-03 3:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.