VB TAPI 2.1
Video Capture Help ] AVIFile Tutorial ] Licensing and Distribution ] Resources ] Awards ] Latest News ] Source Code ] Free Controls ]

 

FULL TAPI 2.1 - FROM VB!
Download (63k) VB source here!

BUGFIX! (03/10/00)
lineInitializeEx was incorrectly declared in mTAPIDecs.bas.  Some Consts were made more explicit.  Also, I had saved the sample in VB6 so there was an error when opening in VB5.  The new upload was last saved in VB5 so there should be no error.

DETAILS:
This sample uses the MS TAPI 2.1 API directly with no external dlls or controls necessary (besides the TAPI and VB runtime dlls). It was written entirely in VB and includes full, commented, compilable (in VB5 or VB6) source code.

This is not just another Assisted Telephony app!   I became so frustrated when looking for TAPI samples for VB that I decided to write my own.  I know what it feels like to think you have found a good sample, only to find that it is dependent on some half-baked 3rd party dll or control with NO SOURCE available for download.  Of course, controls have their place, but this sample is for those who are learning the API and want to know what is happening at the TAPI level.  Because I am learning too, I make no claims that this is the last word in VB-TAPI. It is certainly not commercial code and is only partially finished and tested.  However, I feel that this sample shows that TAPI application development is certainly possible in native VB and I hope this will be helpful for those of you who must, for whatever reason, use VB as your primary development environment.

Comments from a programmer like you:
"I've been using your outstanding TAPI example for the past few days.  I've learned more from your single example than I have from all the semi-decent and outright lousy web pages and tutorials that I've seen elsewhere *combined*...Thanks!    (the c code now even makes sense!)"  G. H. (12/03/99)

Techniques demonstrated in this project
---------------------------------------
A significant translation of the line-device portion of the TAPI.H file, including declares and constants which you can use in your own applications!

The test project shows several useful techniques including:
Initializing, version-checking, and checking dev-caps for installed TAPI devices

Extracting icons from TAPI lines

Wrapping the TAPI API into a class module and routing callbacks to the class

Dialing out on selected line devices using the INTERACTIVE_VOICE media mode


You may freely use and modify this code for use in your
own programs. However, you may not redistribute
this archive without permission from Ray Mercer
<raymer@shrinkwrapvb.com>

Copyright (c) 1998-2000, Ray Mercer - All Rights Reserved