Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User kscorpiot's Avatar
    Join Date
    Mar 2003
    Posts
    3
    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 bentang's Avatar
    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 kmodric's Avatar
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved