Solved

How To Declare TAPI functions In Visual Basic

Posted on 1998-07-31
4
219 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

696 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