Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

MSCOMM control

Last post 05-11-2008 2:28 AM by Toyapogi. 25 replies.
Page 1 of 2 (26 items) 1 2 Next >
Sort Posts: Previous Next
  • 04-09-2008 8:31 AM

    MSCOMM control

    can anybody help regardin MSCOMM control.i dont know vb6.0.is this control.i know vs2005.can i find in that.how  to use it

    • Post Points: 10
  • 05-06-2008 12:35 PM In reply to

    Re: MSCOMM control

    I am giving one example how to use mscomm

    For sending message I am using like this

     Set MSComm1 = New MSComm

    MSComm1.CommPort = 1
                MSComm1.Settings = "115200,N,8,1"           
                MSComm1.Handshaking = 2         

     MSComm1.Output = "AT+CMGS= " & Chr(34) & Number$ & Chr(34) & Chr$(13) & Chr(10)
               
                Buffer = ""
                Do
                    DoEvents
                    If MSComm1.InBufferCount > 0 Then Buffer = Buffer & MSComm1.Input
                Loop Until InStr(Buffer, ">")
                MsgBox Buffer

     

     

    • Post Points: 5
  • 05-06-2008 12:36 PM In reply to

    Re: MSCOMM control

    I am giving one example how to use mscomm

    For sending message I am using like this

     Set MSComm1 = New MSComm

    MSComm1.CommPort = 1
                MSComm1.Settings = "115200,N,8,1"           
                MSComm1.Handshaking = 2         

     MSComm1.Output = "AT+CMGS= " & Chr(34) & Number$ & Chr(34) & Chr$(13) & Chr(10)
                writeFile ("AT+CMGS= " & Chr(34) & Number$ & Chr(34) & Chr$(13) & Chr(10))

                ''''''''''''''''''''''''''''
                Buffer = ""
                Do
                    DoEvents
                    If MSComm1.InBufferCount > 0 Then Buffer = Buffer & MSComm1.Input
                Loop Until InStr(Buffer, ">")
                MsgBox Buffer

     

     

     
    • Post Points: 10
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received

    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received >

    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using

    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using

    the
    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's
    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received

    >
    • Post Points: 5
  • 05-08-2008 2:54 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's the problem... while im processing
    • Post Points: 5
  • 05-08-2008 2:55 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's the problem... while im processing the
    • Post Points: 5
  • 05-08-2008 2:55 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's the
    • Post Points: 5
  • 05-08-2008 2:55 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's the problem... while im processing the data and a new message received my previous
    • Post Points: 5
  • 05-08-2008 2:55 AM In reply to

    • Toyapogi
    • Not Ranked
    • Joined on 06-18-2007
    • Philippines
    • Junior Member
    • Points 120

    Re: MSCOMM control

    hi there... i have a problem here...

    how can i set my mscomm to queue all incomming message while im the modem?

    for example:

    message received > processdata(using the

    modem) * here's the problem the
    • Post Points: 10
Page 1 of 2 (26 items) 1 2 Next >