Solved

Wait for and Answer a call with the modem in VB.NET

Posted on 2003-10-28
4
627 Views
Last Modified: 2008-02-01
I have spent hours scouring the net to no avail.  I need to write a program that will wait for a call, and then answer it and establish a connection between the caller and the receiver.  So far I have made no progress whatsoever.  I looked into MSComm but it doesn't work for me because I dont have Visual Basic 6.  And even if I did I wouldn't want to use it because this software will eventually be commercial and I cant expect everyone who purchases it to register it with VB6(I have registered it with regsvr32 also and that doesnt make any difference).

Anyways, I would really like it if anyone could get me pointed in the right direction.  Where can i search, what can I search for.  I do not need to write the code to dial the modem, only the code to answer the call and receive data.
0
Comment
Question by:smeeneh
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
NetPointer earned 250 total points
ID: 9637799
This will help you.

http://www.vbrad.com/pf.asp?p=source/src_tapi_wrapper.htm

Regards,
NetPointer
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 9638200
0
 

Author Comment

by:smeeneh
ID: 9644673
Neither of those are especially helpful.  I don't want to connect to the internet, I want to accept a connection from another modem.  I will look into both of them more and if they happen to lead me to the answer then I will reward you the points but if anyone has anything better then please post it.
0
 

Author Comment

by:smeeneh
ID: 9658720
Well, I ended up figuring it out on my own, I guess ill just split the points between you because at least you both bothered to respond.  If anyone finds this page in a search engine, a good place to start is http://www.rainyjay.com/tapi/tapi.htm , specifically the Microsoft Platform SDK TAPI samples are what really got me going.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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