Click here to Skip to main content
       

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value PinmvpEddy Vluggen9-Jan-13 4:31 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value PinmemberAlan N9-Jan-13 6:17 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pinmembersteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon PinmemberRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon PinprotectorPete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pinmemberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in PinprotectorPete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pinmemberjankevint7-Jan-13 15:39 
Hello,

Im stock at this problem i got an error "The I/O operation has been aborted because of either a thread exit or an application request."

i got an error on this line
mySerialPort.WriteLine("SUCCESS!" & vbCrLf )

and here is my code.
Public Sub CommPortSetup()
 
        If mySerialPort.IsOpen Then
            mySerialPort.Close()
 
        End If
 
        Try
            With mySerialPort
                .PortName = "COM1"
                .BaudRate = 115200
                .DataBits = 8
                .Parity = Parity.None
                .StopBits = StopBits.One
                .Handshake = Handshake.None
                .DtrEnable = True
                .RtsEnable = True
                .NewLine = vbCrLf
            End With
            mySerialPort.Open()
            MessageBox.Show("Connected to COMMPORT1")
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
 
        mySerialPort.WriteLine("AT+CMGF=1" & vbCrLf)
        System.Threading.Thread.Sleep(200)
        mySerialPort.WriteLine("AT+CMGS=+6390720831187" & vbCrLf)
        System.Threading.Thread.Sleep(200)
        mySerialPort.WriteLine("SUCCESS!" & vbCrLf )
        System.Threading.Thread.Sleep(200)
 
 
 
 
 
 
    End Sub
 
End Module

AnswerRe: IOException was Unhandled PinmvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pinmembersamijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 PinmvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question PinmemberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question PinmemberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:58 
AnswerRe: Build Output Question PinmvpAbhinav S4-Jan-13 6:20 
AnswerRe: Build Output Question PinmvpSandeep Mewara4-Jan-13 6:28 
QuestionNullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pinmemberindian14327-Dec-12 18:14 
AnswerRe: Nullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." PinmemberEddy Vluggen28-Dec-12 8:41 
QuestionC# statement var indirect val [modified] Pinmembercodejuggler927-Dec-12 6:33 
AnswerRe: C# statement var indirect val PinmvpDave Kreskowiak27-Dec-12 7:23 
GeneralRe: C# statement var indirect val Pinmembercodejuggler927-Dec-12 7:58 
GeneralRe: C# statement var indirect val PinmvpDave Kreskowiak27-Dec-12 8:47 
QuestionNeeded: PGP source code PinmemberGregory.Gadow26-Dec-12 5:30 
AnswerRe: Needed: PGP source code PinmemberGregory.Gadow26-Dec-12 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 19 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid