Solved

How To Declare TAPI functions In Visual Basic

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 100
What are the big features of MVC5? 4 87
Windows Script Host failed (Access is denied.) error 6 149
Advice in Xamarin 21 80
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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

803 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