Click here to Skip to main content
15,889,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Building COM Components Using MATLAB - Part I Pin
Eddy Vluggen14-Jan-13 9:59
professionalEddy Vluggen14-Jan-13 9:59 
QuestionDebug user control in VB6.0 ? Pin
Member 24584678-Jan-13 22:38
Member 24584678-Jan-13 22:38 
AnswerRe: Debug user control in VB6.0 ? Pin
ChandraRam17-Jan-13 20:08
ChandraRam17-Jan-13 20:08 
QuestionHow make DOWNLOADER in VB 2010 ? Pin
radoslaw1238-Jan-13 7:21
radoslaw1238-Jan-13 7:21 
AnswerRe: How make DOWNLOADER in VB 2010 ? Pin
GuyThiebaut8-Jan-13 21:53
professionalGuyThiebaut8-Jan-13 21:53 
GeneralRe: How make DOWNLOADER in VB 2010 ? Pin
radoslaw1239-Jan-13 0:36
radoslaw1239-Jan-13 0:36 
GeneralRe: How make DOWNLOADER in VB 2010 ? Pin
GuyThiebaut9-Jan-13 0:40
professionalGuyThiebaut9-Jan-13 0:40 
QuestionIOException was Unhandled Pin
jankevint7-Jan-13 14:37
jankevint7-Jan-13 14:37 
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.

VB
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 Pin
Dave Kreskowiak7-Jan-13 18:08
mveDave Kreskowiak7-Jan-13 18:08 
GeneralRe: IOException was Unhandled Pin
jankevint7-Jan-13 21:52
jankevint7-Jan-13 21:52 
AnswerRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 22:26
mveRichard MacCutchan7-Jan-13 22:26 
GeneralRe: IOException was Unhandled Pin
jankevint7-Jan-13 23:18
jankevint7-Jan-13 23:18 
GeneralRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 23:31
mveRichard MacCutchan7-Jan-13 23:31 
AnswerRe: IOException was Unhandled Pin
Mike Meinz22-Jan-13 3:15
Mike Meinz22-Jan-13 3:15 
GeneralTo calculate with two - three & four criteria multiple worksheet in summary sheet Pin
atulkhandekar3-Jan-13 21:42
atulkhandekar3-Jan-13 21:42 
AnswerRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Eddy Vluggen4-Jan-13 22:48
professionalEddy Vluggen4-Jan-13 22:48 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
atulkhandekar7-Jan-13 1:46
atulkhandekar7-Jan-13 1:46 
AnswerRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Eddy Vluggen7-Jan-13 1:57
professionalEddy Vluggen7-Jan-13 1:57 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Richard MacCutchan7-Jan-13 6:39
mveRichard MacCutchan7-Jan-13 6:39 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Shailesh Shah12-Jan-13 19:20
Shailesh Shah12-Jan-13 19:20 
Questionwhich method I should go with Pin
demo 22-Jan-13 19:54
demo 22-Jan-13 19:54 
AnswerRe: which method I should go with Pin
Eddy Vluggen4-Jan-13 22:51
professionalEddy Vluggen4-Jan-13 22:51 
Questionvb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 9:58
tuticorinmano2-Jan-13 9:58 
AnswerRe: vb6 with ms access2007 database Pin
David Mujica2-Jan-13 10:26
David Mujica2-Jan-13 10:26 
GeneralRe: vb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 12:49
tuticorinmano2-Jan-13 12:49 

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

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