Solved

How To Declare TAPI functions In Visual Basic

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now