|
-
Feb 3rd, 2000, 06:19 PM
#1
Thread Starter
Hyperactive Member
Hi Guys,
I have planned to develop a new application which alerts me when I receive a phone call when i am connected to the internet using the dial up modem? Which technology I should use in VB. Do I have to use the TAPI or the MAPI calls to trap the calls???
Any suggestions or ideas would be really appreciated.
------------------
Regards,
Venkat
[email protected]
ICQ: 45714766
http://venkat.iscool.net
-
Feb 3rd, 2000, 06:28 PM
#2
Member
I have already developed something familiar.
You can download some TAPI samples (don't ask me where !) with useful information on TAPI, but you can also use the MSComm Control and interact with your modem directly via the Com-port it is attached on
-
Feb 3rd, 2000, 06:35 PM
#3
Thread Starter
Hyperactive Member
Hi Gekiere,
Thanx for ur response. I am quite familiar with the Win32 API's, still not much with the TAPI. Could u pls suggest or mail me some examples of using such API's.
-
Feb 3rd, 2000, 08:18 PM
#4
Member
Why don't you try it with the MSComm Control?
Here's an example:
first set some properties for the MSComm Object (such as the comm-port)
then use this code:
MSComm1.PortOpen = True
Do While DoEvents
If InStr(MSComm1.Input, "ATR") Then
'the phone is ringing
End If
Loop
ATR is the Hayes-Code for Ring
then you can answer the call with
MSComm1.Output = "ATA" 'Hayes-Code for Answer
-
Feb 3rd, 2000, 08:55 PM
#5
Member
-
Feb 4th, 2000, 11:38 PM
#6
Thread Starter
Hyperactive Member
Hi Man,
Thanx and that was useful informations...let me begin with what u said, by using the ms comm control.
------------------
Regards,
Venkat
[email protected]
ICQ: 45714766
http://venkat.iscool.net
-
Jan 25th, 2001, 06:10 PM
#7
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|