Results 1 to 2 of 2

Thread: conntecting to modem

  1. #1

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    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

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    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
  •  



Click Here to Expand Forum to Full Width