×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    SMS through 7110 with visual basic

    Hi I'm new at trying to send SMS through visual basic, however i'm not sure where i have gone wrong. This is the code i have written, but i have no response at all neither from the PC nor the Phone. Can anyone please help Thanks!!

    MSComm1.CommPort = 1
    MSComm1.Settings = "9600,N,8,1"
    MSComm1.InputLen = 0
    MSComm1.PortOpen = True

    MSComm1.Output = "AT" & Chr$(13) & Chr$(10)
    MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr$(10)
    MSComm1.Output = "AT+CMGS=" & Chr$(34) & "+6590906653" & Chr$(34) & ",129" & Chr$(13) & Chr$(10)
    MSComm1.Output = "test" & Chr$(26) & Chr$(13) & Chr$(10)
    MSComm1.PortOpen = False

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    1
    Hi! Did u ever resolve the problem? I got stuck here too. I think the problem is that we need to send a 'ctrl+z' command to the modem, but I can'n seem to figure out how.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    3
    SendKeys (vbKeyControl + vbKeyZ)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×