Solved

How To Declare TAPI functions In Visual Basic

Posted on 1998-07-31
4
224 Views
Last Modified: 2013-11-25
Need Help and Advise...!!! I'm developing a telephony software to handle DTMF signals from the caller on Windows "95 platform using VB4. The problem is that I don't know how to use the TAPI functions and how to declare it in the modules ,how to send the TAPI Functions / Commands to the modem so that the Modem can receive the DTMF signals. I have tried the MSCOMM OCX Control of the VB4 but it doesn't detect the signal as a receive OnComm signal. I am still very new to the telecommunication programming. I would really appreciate and very much thankfull if anyone could help me in detail on how to go about these things.

Thank you.
Joe.
e-mail : bocs@tm.net.my
Malaysia.




0
Comment
Question by:bocs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:bocs
ID: 1467395
Edited text of question
0
 

Accepted Solution

by:
Rishi080198 earned 20 total points
ID: 1467396
I am giving you the declaration of a TAPI function and hope it will solve your problem. If you need further assistance please let me know as I am also busy implementing TAPI features in my application.

The following function is used to dail a number automatically.

Declare Function tapiRequestMakeCall Lib "TAPI.DLL" (ByVal lpszDestAddress As String, ByVal lpszAppName As String, ByVal lpszCalledParty As String, ByVal lpszComment As String) As Long


0
 

Author Comment

by:bocs
ID: 1467397
Thank you Rishi...

But with this function I was unable to detect the incoming DTMF signals.. May be I might have gone wrong somewhere... But I did try a few times but the incoming signals were not detected. If you have any other functions that I can use to detect the incoming DTMF signals and how to go about using it in the program coding, please let me know, I'll be very happy to hear from you. Thanks again..

Regards,
J. Joe Tharmaraja
bocs@tm.net.my
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1467398
Bought This Question.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question