|
-
Dec 29th, 2004, 10:17 AM
#1
Thread Starter
Addicted Member
conntecting to modem
heylo !
i have got a few questions, i want to connect my modem to an ISP, i included MS Comm ActiveX control, then searched the net to find out how to use it,
the command to dial the number which i use is like this
MSComm1.output = "ATDT" & "13112322" & vbCrLf
the first question is dat this command only dials the number, how do i give the user id n password of my ISP, the second question is wat is this vbCrLf ( n also somewhere vbCr ), and in the end, what is onComm() event of the MS Comm Control
i have searched the msdn, so pls dun ask me to visit msdn or gimme links to msdn sites, pls gimme ur own explanation to my questions
-
Dec 29th, 2004, 10:36 AM
#2
Fanatic Member
Re: conntecting to modem
vbCrLf denotes Carriage Return and Line Feed. It's probably part of the comm protocal to take vbCrLf at the end of each command. It's sort of like HTTP headers, you need to have vbCrLf at the end of every line, and two vbCrLf at the very end. Thus, you can have vbCr, or vbLf, or both vbCrLf.
Visual Basic 6.0
Visual C++ 5
Delphi 5

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
|