How can use my modem?

HI ALL. I am a beginer in DELPHI 3.0 and I'd like to know how can I use my modem@
kaloyanAsked:
Who is Participating?
 
hrizalConnect With a Mentor Commented:
Kaloyan, what for you want use your modem ?
but if you want to test if your modem work, try this ...

begin
   assignfile(mdm,'COM2')  // depend to your modem using com port
   writeln('AT Z'); // becareful using this number :)
   writeln('ATDT 911 0'); // becareful using this number :)
   writeln('AT H'); // becareful using this number :)
   close(mdm)
end;

if you hear some tone, your modem is good enaugh for dialing number from your delphi application.



0
 
OttaCommented:
200 points? a "hard" question?
This is really an "easy" question -- worth about 50 points!
0
 
eversoslightlyCommented:
Then why don't you answer it ??????
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.