diff --git a/Controll All.sln b/Controll All.sln new file mode 100644 index 0000000..876a053 --- /dev/null +++ b/Controll All.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27004.2005 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Controll All", "Controll All\Controll All.vbproj", "{252328A2-41FA-45CF-ACB2-CE5C54342B8A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {252328A2-41FA-45CF-ACB2-CE5C54342B8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {252328A2-41FA-45CF-ACB2-CE5C54342B8A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {252328A2-41FA-45CF-ACB2-CE5C54342B8A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {252328A2-41FA-45CF-ACB2-CE5C54342B8A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0174138D-BE3B-4CB0-ABB8-DA0C76F72762} + EndGlobalSection +EndGlobal diff --git a/Controll All/App.config b/Controll All/App.config new file mode 100644 index 0000000..bd27edc --- /dev/null +++ b/Controll All/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Controll All/Controll All.vbproj b/Controll All/Controll All.vbproj new file mode 100644 index 0000000..f3e91f8 --- /dev/null +++ b/Controll All/Controll All.vbproj @@ -0,0 +1,162 @@ + + + + + Debug + AnyCPU + {252328A2-41FA-45CF-ACB2-CE5C54342B8A} + WinExe + WindowsApplication1.My.MyApplication + WindowsApplication1 + Controll All + 512 + WindowsForms + v4.6.1 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + AnyCPU + true + full + true + true + bin\Debug\ + Controll All.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + Controll All.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + My Project\app.manifest + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Controll all .vb + Form + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + Controll all .vb + + + Controll all .vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + False + Microsoft .NET Framework 4.5 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + \ No newline at end of file diff --git a/Controll All/Controll All.vbproj.user b/Controll All/Controll All.vbproj.user new file mode 100644 index 0000000..4a9dac5 --- /dev/null +++ b/Controll All/Controll All.vbproj.user @@ -0,0 +1,13 @@ + + + + publish\ + + + + + + en-US + false + + \ No newline at end of file diff --git a/Controll All/Controll all .Designer.vb b/Controll All/Controll all .Designer.vb new file mode 100644 index 0000000..6cbef8b --- /dev/null +++ b/Controll All/Controll all .Designer.vb @@ -0,0 +1,224 @@ + +Partial Class Serial_Data + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + + Private Sub InitializeComponent() + Me.components = New System.ComponentModel.Container() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Serial_Data)) + Me.Errors = New System.Windows.Forms.Label() + Me.AA = New System.Windows.Forms.Label() + Me.RichTextBoxInput = New System.Windows.Forms.RichTextBox() + Me.RichTextBoxOutput = New System.Windows.Forms.RichTextBox() + Me.ButtonSend = New System.Windows.Forms.Button() + Me.ComboBoxUSB = New System.Windows.Forms.ComboBox() + Me.TextBoxInput = New System.Windows.Forms.TextBox() + Me.ButtonConnectDisconnect = New System.Windows.Forms.Button() + Me.SerialPort1 = New System.IO.Ports.SerialPort(Me.components) + Me.AutoScroll = New System.Windows.Forms.CheckBox() + Me.Errors2 = New System.Windows.Forms.Label() + Me.RichTextBoxOutputb = New System.Windows.Forms.RichTextBox() + Me.StartChar = New System.Windows.Forms.TextBox() + Me.StopChar = New System.Windows.Forms.TextBox() + Me.Label1 = New System.Windows.Forms.Label() + Me.Label2 = New System.Windows.Forms.Label() + Me.Label3 = New System.Windows.Forms.Label() + Me.Label4 = New System.Windows.Forms.Label() + Me.Label5 = New System.Windows.Forms.Label() + Me.SuspendLayout() + ' + 'Errors + ' + resources.ApplyResources(Me.Errors, "Errors") + Me.Errors.Cursor = System.Windows.Forms.Cursors.Default + Me.Errors.ForeColor = System.Drawing.Color.Red + Me.Errors.Name = "Errors" + ' + 'AA + ' + resources.ApplyResources(Me.AA, "AA") + Me.AA.Cursor = System.Windows.Forms.Cursors.WaitCursor + Me.AA.Name = "AA" + Me.AA.UseWaitCursor = True + ' + 'RichTextBoxInput + ' + resources.ApplyResources(Me.RichTextBoxInput, "RichTextBoxInput") + Me.RichTextBoxInput.Cursor = System.Windows.Forms.Cursors.IBeam + Me.RichTextBoxInput.Name = "RichTextBoxInput" + Me.RichTextBoxInput.ReadOnly = True + Me.RichTextBoxInput.TabStop = False + ' + 'RichTextBoxOutput + ' + resources.ApplyResources(Me.RichTextBoxOutput, "RichTextBoxOutput") + Me.RichTextBoxOutput.Cursor = System.Windows.Forms.Cursors.IBeam + Me.RichTextBoxOutput.Name = "RichTextBoxOutput" + Me.RichTextBoxOutput.ReadOnly = True + Me.RichTextBoxOutput.TabStop = False + ' + 'ButtonSend + ' + Me.ButtonSend.Cursor = System.Windows.Forms.Cursors.Hand + resources.ApplyResources(Me.ButtonSend, "ButtonSend") + Me.ButtonSend.Name = "ButtonSend" + Me.ButtonSend.UseVisualStyleBackColor = True + ' + 'ComboBoxUSB + ' + Me.ComboBoxUSB.Cursor = System.Windows.Forms.Cursors.Hand + Me.ComboBoxUSB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList + resources.ApplyResources(Me.ComboBoxUSB, "ComboBoxUSB") + Me.ComboBoxUSB.FormattingEnabled = True + Me.ComboBoxUSB.Name = "ComboBoxUSB" + ' + 'TextBoxInput + ' + Me.TextBoxInput.Cursor = System.Windows.Forms.Cursors.IBeam + resources.ApplyResources(Me.TextBoxInput, "TextBoxInput") + Me.TextBoxInput.Name = "TextBoxInput" + ' + 'ButtonConnectDisconnect + ' + Me.ButtonConnectDisconnect.Cursor = System.Windows.Forms.Cursors.Hand + resources.ApplyResources(Me.ButtonConnectDisconnect, "ButtonConnectDisconnect") + Me.ButtonConnectDisconnect.ForeColor = System.Drawing.Color.Green + Me.ButtonConnectDisconnect.Name = "ButtonConnectDisconnect" + Me.ButtonConnectDisconnect.UseVisualStyleBackColor = True + ' + 'SerialPort1 + ' + Me.SerialPort1.PortName = "COM6" + ' + 'AutoScroll + ' + resources.ApplyResources(Me.AutoScroll, "AutoScroll") + Me.AutoScroll.Checked = True + Me.AutoScroll.CheckState = System.Windows.Forms.CheckState.Checked + Me.AutoScroll.Cursor = System.Windows.Forms.Cursors.Hand + Me.AutoScroll.Name = "AutoScroll" + Me.AutoScroll.UseMnemonic = False + Me.AutoScroll.UseVisualStyleBackColor = True + ' + 'Errors2 + ' + resources.ApplyResources(Me.Errors2, "Errors2") + Me.Errors2.Cursor = System.Windows.Forms.Cursors.Default + Me.Errors2.ForeColor = System.Drawing.Color.Red + Me.Errors2.Name = "Errors2" + ' + 'RichTextBoxOutputb + ' + resources.ApplyResources(Me.RichTextBoxOutputb, "RichTextBoxOutputb") + Me.RichTextBoxOutputb.Cursor = System.Windows.Forms.Cursors.IBeam + Me.RichTextBoxOutputb.Name = "RichTextBoxOutputb" + Me.RichTextBoxOutputb.ReadOnly = True + Me.RichTextBoxOutputb.TabStop = False + ' + 'StartChar + ' + Me.StartChar.AcceptsReturn = True + Me.StartChar.AcceptsTab = True + Me.StartChar.Cursor = System.Windows.Forms.Cursors.IBeam + resources.ApplyResources(Me.StartChar, "StartChar") + Me.StartChar.Name = "StartChar" + ' + 'StopChar + ' + Me.StopChar.Cursor = System.Windows.Forms.Cursors.IBeam + resources.ApplyResources(Me.StopChar, "StopChar") + Me.StopChar.Name = "StopChar" + ' + 'Label1 + ' + resources.ApplyResources(Me.Label1, "Label1") + Me.Label1.Name = "Label1" + ' + 'Label2 + ' + resources.ApplyResources(Me.Label2, "Label2") + Me.Label2.Name = "Label2" + ' + 'Label3 + ' + resources.ApplyResources(Me.Label3, "Label3") + Me.Label3.Name = "Label3" + ' + 'Label4 + ' + resources.ApplyResources(Me.Label4, "Label4") + Me.Label4.Name = "Label4" + ' + 'Label5 + ' + resources.ApplyResources(Me.Label5, "Label5") + Me.Label5.Name = "Label5" + ' + 'Serial_Data + ' + resources.ApplyResources(Me, "$this") + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.Controls.Add(Me.Label5) + Me.Controls.Add(Me.Label4) + Me.Controls.Add(Me.Label3) + Me.Controls.Add(Me.Label2) + Me.Controls.Add(Me.Label1) + Me.Controls.Add(Me.StopChar) + Me.Controls.Add(Me.StartChar) + Me.Controls.Add(Me.RichTextBoxOutputb) + Me.Controls.Add(Me.Errors2) + Me.Controls.Add(Me.Errors) + Me.Controls.Add(Me.AA) + Me.Controls.Add(Me.RichTextBoxInput) + Me.Controls.Add(Me.RichTextBoxOutput) + Me.Controls.Add(Me.ButtonSend) + Me.Controls.Add(Me.ComboBoxUSB) + Me.Controls.Add(Me.TextBoxInput) + Me.Controls.Add(Me.ButtonConnectDisconnect) + Me.Controls.Add(Me.AutoScroll) + Me.Name = "Serial_Data" + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + + Friend WithEvents Errors As Label + Friend WithEvents AA As Label + Public WithEvents RichTextBoxInput As RichTextBox + Public WithEvents RichTextBoxOutput As RichTextBox + Friend WithEvents ButtonSend As Button + Friend WithEvents ComboBoxUSB As ComboBox + Friend WithEvents TextBoxInput As TextBox + Friend WithEvents ButtonConnectDisconnect As Button + Friend WithEvents SerialPort1 As IO.Ports.SerialPort + Friend WithEvents AutoScroll As CheckBox + Friend WithEvents Errors2 As Label + Public WithEvents RichTextBoxOutputb As RichTextBox + Friend WithEvents StartChar As TextBox + Friend WithEvents StopChar As TextBox + Friend WithEvents Label1 As Label + Friend WithEvents Label2 As Label + Friend WithEvents Label3 As Label + Friend WithEvents Label4 As Label + Friend WithEvents Label5 As Label +#Disable Warning BC40004 ' Member conflicts with member in the base type and should be declared 'Shadows' +#Enable Warning BC40004 ' Member conflicts with member in the base type and should be declared 'Shadows' +End Class diff --git a/Controll All/Controll all .en-150.resx b/Controll All/Controll all .en-150.resx new file mode 100644 index 0000000..68c9855 --- /dev/null +++ b/Controll All/Controll all .en-150.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + 80, 56 + + + 10, 225 + + + + 76 + + + 10, 246 + + + 77 + + + True + + + False + + + + NoControl + + + 10, 198 + + + 95, 17 + + + 75 + + + Auto scroll reci + + + ImageAboveText + + + JelleWho - Controll all - Arduino one + + \ No newline at end of file diff --git a/Controll All/Controll all .resx b/Controll All/Controll all .resx new file mode 100644 index 0000000..084cbc8 --- /dev/null +++ b/Controll All/Controll all .resx @@ -0,0 +1,693 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + True + + + + NoControl + + + + 41, 101 + + + 0, 17 + + + 122 + + + Errors + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 9 + + + True + + + NoControl + + + 1000, 500 + + + 124, 17 + + + 121 + + + Made by JelleWho + + + AA + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 10 + + + Top, Bottom, Left + + + 222, 204 + + + 3, 2, 3, 2 + + + 100, 202 + + + 119 + + + + + + RichTextBoxInput + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 11 + + + Top, Bottom, Left + + + 13, 204 + + + 3, 2, 3, 2 + + + 100, 202 + + + 108 + + + + + + RichTextBoxOutput + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 12 + + + False + + + Microsoft Sans Serif, 10pt + + + NoControl + + + 271, 155 + + + 3, 2, 3, 2 + + + 51, 27 + + + 106 + + + + + + ButtonSend + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 13 + + + Microsoft Sans Serif, 12pt + + + 13, 13 + + + 4, 4, 4, 4 + + + 89, 33 + + + 100 + + + ComboBoxUSB + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 14 + + + False + + + 13, 158 + + + 3, 2, 3, 2 + + + 253, 22 + + + 105 + + + TextBoxInput + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 15 + + + Microsoft Sans Serif, 11pt + + + NoControl + + + 109, 11 + + + 3, 2, 3, 2 + + + 123, 50 + + + 101 + + + Connect + + + ButtonConnectDisconnect + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 16 + + + 17, 17 + + + True + + + NoControl + + + 13, 71 + + + 4, 4, 4, 4 + + + 137, 21 + + + 103 + + + Auto scroll boxes + + + ImageAboveText + + + AutoScroll + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 17 + + + True + + + NoControl + + + 41, 128 + + + 0, 17 + + + 123 + + + Errors2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 8 + + + Top, Bottom, Left + + + 119, 204 + + + 3, 2, 3, 2 + + + 100, 202 + + + 125 + + + + + + RichTextBoxOutputb + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 7 + + + 13, 98 + + + 3, 2, 3, 2 + + + 10 + + + 22, 22 + + + 126 + + + [ + + + StartChar + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 6 + + + 13, 125 + + + 3, 2, 3, 2 + + + 22, 22 + + + 127 + + + ] + + + StopChar + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 5 + + + True + + + 41, 101 + + + 70, 17 + + + 128 + + + Start char + + + Label1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + + + True + + + NoControl + + + 41, 128 + + + 69, 17 + + + 129 + + + Stop char + + + Label2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + True + + + NoControl + + + 33, 185 + + + 67, 17 + + + 130 + + + Recieved + + + Label3 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + True + + + NoControl + + + 135, 185 + + + 75, 17 + + + 131 + + + Processed + + + Label4 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + True + + + NoControl + + + 245, 185 + + + 57, 17 + + + 132 + + + Sended + + + Label5 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + True + + + 46 + + + 8, 16 + + + 332, 422 + + + 3, 2, 3, 2 + + + JelleWho - Arduino serial + + + SerialPort1 + + + System.IO.Ports.SerialPort, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Serial_Data + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Controll All/Controll all .vb b/Controll All/Controll all .vb new file mode 100644 index 0000000..d85dfb6 --- /dev/null +++ b/Controll All/Controll all .vb @@ -0,0 +1,245 @@ +' This code is written by JelleWho +' + +Imports System +Imports System.Threading +Imports System.IO.Ports +Imports System.ComponentModel +Public Class Serial_Data + + + + 'Put above this line your own strings + + '================================================== + '================================================== + '========== Core V7.1 ========== + '================================================== + '================================================== + Dim RecievedText As String + Dim StartBit As String = "[" + Dim StopBit As String = "]" + Dim MSGBoxName As String + Dim MSG As String + Dim myPort As Array + Dim ArduinoAnswer As String + Dim ButtonSelected As String + Dim PrefUSB As String + + Delegate Sub SetTextCallback(ByVal [text] As String) 'Added to prevent threading errors during receiveing of data + 'Action - when closing application + Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing + If ButtonConnectDisconnect.Text = "Disconnect" Then + Threading.Thread.Sleep(100) ' 1000 milliseconds = 1 second + Disconnect() ' disconnect arduino, Tried to fix the Frees here + Threading.Thread.Sleep(100) ' 1000 milliseconds = 1 second + End If + End Sub + 'Action - (when) Starting up + Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load + ReloadUSB() + MSGBoxName = "JelleWho" + ButtonConnectDisconnect.Select() + StartBit = StartChar.Text + StopBit = StopChar.Text + RunOnStartup() + End Sub + 'Button - Reload USB + Private Sub ComboBoxPoort_USBIndexChanged(sender As Object, e As EventArgs) Handles ComboBoxUSB.Click + ReloadUSB() + End Sub + 'Code - Reload USB + Sub ReloadUSB() + PrefUSB = ComboBoxUSB.SelectedItem + ComboBoxUSB.Items.Clear() + On Error GoTo ErrHand + myPort = IO.Ports.SerialPort.GetPortNames() + ComboBoxUSB.Items.AddRange(myPort) + ComboBoxUSB.SelectionStart.ToString() + ComboBoxUSB.SelectedItem = PrefUSB + If ComboBoxUSB.SelectedItem = "" Then 'Try autoselect an port + ComboBoxUSB.SelectedItem = "COM10" + ComboBoxUSB.SelectedItem = "COM9" + ComboBoxUSB.SelectedItem = "COM8" + ComboBoxUSB.SelectedItem = "COM7" + ComboBoxUSB.SelectedItem = "COM6" + ComboBoxUSB.SelectedItem = "COM5" + ComboBoxUSB.SelectedItem = "COM4" + ComboBoxUSB.SelectedItem = "COM3" + ComboBoxUSB.SelectedItem = "COM2" + ComboBoxUSB.SelectedItem = "COM1" + ComboBoxUSB.SelectedItem = "COM0" + End If +ErrHand: + End Sub + 'Button - Send + Private Sub ButtonSend_Click(sender As Object, e As EventArgs) Handles ButtonSend.Click + SerialSend(TextBoxInput.Text) + End Sub + 'Button - Enter Pressed (Send) + Private Sub TextBoxInput_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBoxInput.KeyDown + If e.KeyCode = Keys.Enter Then + SerialSend(TextBoxInput.Text) + End If + End Sub + 'Code - Serial send + Sub SerialSend(Text As String) + TextBoxInput.Text = "" + On Error GoTo ErrHand + SerialPort1.Write(Text) + RichTextBoxInput.Text &= Text + Chr(13) + Exit Sub +ErrHand: + MsgBox("You couldn't resist to remove the cable didn't you?", , MSGBoxName) + Disconnect() + End Sub + 'Button - Connect and Disconnect + Private Sub ButtonButtonConnectDisconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonConnectDisconnect.Click + If ButtonConnectDisconnect.Text = "Connect" Then + 'Connect + Connect() + Else + 'Disconnect + ButtonConnectDisconnect.Text = "Connect" + ButtonConnectDisconnect.ForeColor = Color.Green + Disconnect() + End If + End Sub + 'Code - Connect + Sub Connect() + If ComboBoxUSB.Text <> "" Then + On Error GoTo ErrHand + ''SerialPort1.Close() + SerialPort1.PortName = ComboBoxUSB.Text + SerialPort1.BaudRate = 9600 + + 'Added the next lines + SerialPort1.DataBits = 8 + SerialPort1.Parity = Parity.None + SerialPort1.StopBits = StopBits.One + SerialPort1.Handshake = Handshake.None + SerialPort1.Encoding = System.Text.Encoding.Default + SerialPort1.ReadTimeout = 1 + + SerialPort1.Open() + ComboBoxUSB.Enabled = False + ButtonSend.Enabled = True + TextBoxInput.Enabled = True + ButtonConnectDisconnect.Text = "Disconnect" + ButtonConnectDisconnect.ForeColor = Color.Red + TextBoxInput.Select() + RunOnConnect() + Else + MsgBox("I can not connect to nothing! what where you thinking..." + Chr(13) + "Please give me a COM poort to connect to, before letting me try to connect to it", , MSGBoxName) + ReloadUSB() + End If + Exit Sub +ErrHand: + MsgBox("The COM Port your trying to use, does not seems to work anymore" + Chr(13) + "Did you remove the cable again?", , MSGBoxName) + ReloadUSB() + ButtonConnectDisconnect.Select() + End Sub + 'Code - Disconnect + Sub Disconnect() + RunOnDisconnect() + ComboBoxUSB.Enabled = True + ButtonSend.Enabled = False + TextBoxInput.Enabled = False + ButtonConnectDisconnect.Text = "Connect" + ButtonConnectDisconnect.ForeColor = Color.Green + ButtonConnectDisconnect.Select() + On Error GoTo ErrHand + SerialPort1.Close() + Exit Sub +ErrHand: + ReloadUSB() + End Sub + 'Action - Recieved serial data + Private Sub SerialPort1_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived + System.Threading.Thread.Sleep(10) 'Minimal 4 + ReceivedText(SerialPort1.ReadExisting()) + End Sub + 'Code - Recieved serial data + Private Sub ReceivedText(ByVal [text] As String) 'input from ReadExisting + If Me.RichTextBoxOutput.InvokeRequired Then + Dim x As New SetTextCallback(AddressOf ReceivedText) + Me.Invoke(x, New Object() {(text)}) + Else + RecievedText = RecievedText + [text] + Dim A = 10 + 'Cut end send if we have a valid command " " + Do While InStr(1, RecievedText, StartBit) > 0 And InStr(2, RecievedText, StopBit) > 0 And A > 0 + A = A - 1 + Dim StartBitPos = InStr(1, RecievedText, StartBit) + Dim StopBitPos = InStr(2, RecievedText, StopBit) + If (StopBitPos > StartBitPos) Then + Dim TheText = Microsoft.VisualBasic.Left(RecievedText, StopBitPos - 1) + Dim TheText2 = Microsoft.VisualBasic.Right(TheText, StopBitPos - 1 - StartBitPos) + RecievedText = Microsoft.VisualBasic.Right(RecievedText, Microsoft.VisualBasic.Len(RecievedText) - StopBitPos) + RunOnDataRecieved(TheText2) + RichTextBoxOutputb.Text &= TheText2 + Chr(13) + Else + RecievedText = Microsoft.VisualBasic.Right(RecievedText, Microsoft.VisualBasic.Len(RecievedText) - StopBitPos) + End If + Loop + Me.RichTextBoxOutput.Text &= [text] 'append text to all past command list + If AutoScroll.Checked = True Then + RichTextBoxOutput.SelectionStart = RichTextBoxOutput.TextLength + RichTextBoxOutput.ScrollToCaret() + RichTextBoxInput.SelectionStart = RichTextBoxInput.TextLength + RichTextBoxInput.ScrollToCaret() + RichTextBoxOutputb.SelectionStart = RichTextBoxOutputb.TextLength + RichTextBoxOutputb.ScrollToCaret() + End If + End If + Exit Sub + End Sub + 'Button - Clear output + Private Sub RichTextBoxOutput_DoubleClick(sender As Object, e As EventArgs) Handles RichTextBoxOutput.DoubleClick + RichTextBoxOutput.Text = "" + End Sub + 'Button - Clear Outputb + Private Sub RichTextBoxOutputb_DoubleClick(sender As Object, e As EventArgs) Handles RichTextBoxOutputb.DoubleClick + RichTextBoxOutputb.Text = "" + End Sub + 'Button - Clear inputbox + Private Sub RichTextBoxInput_DoubleClick(sender As Object, e As EventArgs) Handles RichTextBoxInput.DoubleClick + RichTextBoxInput.Text = "" + End Sub + 'Button - Update startbit + Private Sub StartChar_TextChanged(sender As Object, e As EventArgs) Handles StartChar.TextChanged + StartBit = StartChar.Text + End Sub + 'Button - Update Stoptbit + Private Sub StopChar_TextChanged(sender As Object, e As EventArgs) Handles StopChar.TextChanged + StopBit = StopChar.Text + End Sub + '================================================== + '================================================== + '========== Your Codes ========== + '================================================== + '================================================== + 'Action - (when) starting up + Sub RunOnStartup() + 'Connect() + 'if you enable the above line (by removing the ' char) it will try to auto connect on startup + End Sub + 'Action - (when) Connect + Sub RunOnConnect() + + End Sub + 'Action - (when) Disconnect + Sub RunOnDisconnect() + + End Sub + 'Action - (when) Serial data recieved + Sub RunOnDataRecieved(Text As String) + 'the "Text" is the (valid) data recieved + End Sub + '================================================== + '================================================== + '========== More Codes ========== + '================================================== + '================================================== + +End Class diff --git a/Controll All/Form2.resx b/Controll All/Form2.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Controll All/Form2.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Controll All/My Project/Application.Designer.vb b/Controll All/My Project/Application.Designer.vb new file mode 100644 index 0000000..86f8a54 --- /dev/null +++ b/Controll All/My Project/Application.Designer.vb @@ -0,0 +1,38 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTE: This file is auto-generated; do not modify it directly. To make changes, + ' or if you encounter build errors in this file, go to the Project Designer + ' (go to Project Properties or double-click the My Project node in + ' Solution Explorer), and make changes on the Application tab. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.WindowsApplication1.Serial_Data + End Sub + End Class +End Namespace diff --git a/Controll All/My Project/Application.myapp b/Controll All/My Project/Application.myapp new file mode 100644 index 0000000..7c71370 --- /dev/null +++ b/Controll All/My Project/Application.myapp @@ -0,0 +1,10 @@ + + + true + Serial_Data + false + 0 + true + 0 + true + \ No newline at end of file diff --git a/Controll All/My Project/AssemblyInfo.vb b/Controll All/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..6bb7cf3 --- /dev/null +++ b/Controll All/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/Controll All/My Project/Resources.Designer.vb b/Controll All/My Project/Resources.Designer.vb new file mode 100644 index 0000000..f5c0837 --- /dev/null +++ b/Controll All/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("WindowsApplication1.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/Controll All/My Project/Resources.resx b/Controll All/My Project/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Controll All/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Controll All/My Project/Settings.Designer.vb b/Controll All/My Project/Settings.Designer.vb new file mode 100644 index 0000000..591163d --- /dev/null +++ b/Controll All/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.WindowsApplication1.My.MySettings + Get + Return Global.WindowsApplication1.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/Controll All/My Project/Settings.settings b/Controll All/My Project/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/Controll All/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Controll All/My Project/app.manifest b/Controll All/My Project/app.manifest new file mode 100644 index 0000000..a6b46bb --- /dev/null +++ b/Controll All/My Project/app.manifest @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Controll All/bin/Debug/Controll All.exe b/Controll All/bin/Debug/Controll All.exe new file mode 100644 index 0000000..fbeb21c Binary files /dev/null and b/Controll All/bin/Debug/Controll All.exe differ diff --git a/Controll All/bin/Debug/Controll All.exe.config b/Controll All/bin/Debug/Controll All.exe.config new file mode 100644 index 0000000..bd27edc --- /dev/null +++ b/Controll All/bin/Debug/Controll All.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Controll All/bin/Debug/Controll All.pdb b/Controll All/bin/Debug/Controll All.pdb new file mode 100644 index 0000000..ce67b3a Binary files /dev/null and b/Controll All/bin/Debug/Controll All.pdb differ diff --git a/Controll All/bin/Debug/Controll All.vshost.exe b/Controll All/bin/Debug/Controll All.vshost.exe new file mode 100644 index 0000000..681ab77 Binary files /dev/null and b/Controll All/bin/Debug/Controll All.vshost.exe differ diff --git a/Controll All/bin/Debug/Controll All.vshost.exe.config b/Controll All/bin/Debug/Controll All.vshost.exe.config new file mode 100644 index 0000000..bc3672d --- /dev/null +++ b/Controll All/bin/Debug/Controll All.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Controll All/bin/Debug/Controll All.vshost.exe.manifest b/Controll All/bin/Debug/Controll All.vshost.exe.manifest new file mode 100644 index 0000000..a6b46bb --- /dev/null +++ b/Controll All/bin/Debug/Controll All.vshost.exe.manifest @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Controll All/bin/Debug/Controll All.xml b/Controll All/bin/Debug/Controll All.xml new file mode 100644 index 0000000..175465d --- /dev/null +++ b/Controll All/bin/Debug/Controll All.xml @@ -0,0 +1,26 @@ + + + + +Controll All + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/Controll All/bin/Debug/WindowsApplication1.exe.config b/Controll All/bin/Debug/WindowsApplication1.exe.config new file mode 100644 index 0000000..bc3672d --- /dev/null +++ b/Controll All/bin/Debug/WindowsApplication1.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Controll All/bin/Debug/WindowsApplication1.vshost.exe b/Controll All/bin/Debug/WindowsApplication1.vshost.exe new file mode 100644 index 0000000..666c0af Binary files /dev/null and b/Controll All/bin/Debug/WindowsApplication1.vshost.exe differ diff --git a/Controll All/bin/Debug/WindowsApplication1.vshost.exe.config b/Controll All/bin/Debug/WindowsApplication1.vshost.exe.config new file mode 100644 index 0000000..bc3672d --- /dev/null +++ b/Controll All/bin/Debug/WindowsApplication1.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Controll All/bin/Debug/WindowsApplication1.vshost.exe.manifest b/Controll All/bin/Debug/WindowsApplication1.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Controll All/bin/Debug/WindowsApplication1.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Controll All/bin/Debug/en-150/Controll All.resources.dll b/Controll All/bin/Debug/en-150/Controll All.resources.dll new file mode 100644 index 0000000..c9505bd Binary files /dev/null and b/Controll All/bin/Debug/en-150/Controll All.resources.dll differ diff --git a/Controll All/obj/Debug/Controll All.exe b/Controll All/obj/Debug/Controll All.exe new file mode 100644 index 0000000..fbeb21c Binary files /dev/null and b/Controll All/obj/Debug/Controll All.exe differ diff --git a/Controll All/obj/Debug/Controll All.pdb b/Controll All/obj/Debug/Controll All.pdb new file mode 100644 index 0000000..ce67b3a Binary files /dev/null and b/Controll All/obj/Debug/Controll All.pdb differ diff --git a/Controll All/obj/Debug/Controll All.vbproj.CoreCompileInputs.cache b/Controll All/obj/Debug/Controll All.vbproj.CoreCompileInputs.cache new file mode 100644 index 0000000..3251bdc --- /dev/null +++ b/Controll All/obj/Debug/Controll All.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +850b88abbcb8de043e78708fc6b6299fc243551c diff --git a/Controll All/obj/Debug/Controll All.vbproj.FileListAbsolute.txt b/Controll All/obj/Debug/Controll All.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..55060e5 --- /dev/null +++ b/Controll All/obj/Debug/Controll All.vbproj.FileListAbsolute.txt @@ -0,0 +1,156 @@ +D:\Dropbox\Rubiks VB\Controll All\Controll All\bin\Debug\Controll All.exe.config +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\bin\Debug\Controll All.exe.config +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\bin\Debug\Controll All.exe +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\bin\Debug\Controll All.pdb +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\bin\Debug\Controll All.xml +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\WindowsApplication1.Resources.resources +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\Controll All.exe +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\Controll All.xml +D:\Dropbox\Rubiks VB\V4.1 Controll All\Controll All\obj\Debug\Controll All.pdb +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\bin\Debug\Controll All.exe.config +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\Controll All.exe +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\Controll All.xml +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\Controll All.pdb +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\bin\Debug\Controll All.exe +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\bin\Debug\Controll All.pdb +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\bin\Debug\Controll All.xml +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\WindowsApplication1.Resources.resources +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +D:\Dropbox\Rubiks VB\V5 Controll All\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\bin\Debug\Controll All.exe.config +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\Controll All.exe +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\Controll All.xml +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\bin\Debug\Controll All.exe +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\bin\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\bin\Debug\Controll All.xml +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\Jelle\Desktop\V5 Controll All\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\bin\Debug\Controll All.exe.config +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\bin\Debug\Controll All.exe +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\bin\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\bin\Debug\Controll All.xml +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.exe +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.xml +C:\Users\Jelle\Desktop\Visual studio\V6 Controll All\Controll All\obj\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.exe +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.xml +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\bin\Debug\Controll All.exe.config +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\bin\Debug\Controll All.exe +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\bin\Debug\Controll All.pdb +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\bin\Debug\Controll All.xml +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\Jelle\Desktop\Visual studio\V6 School\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\bin\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\bin\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V7 Serial\Controll All\obj\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\bin\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\bin\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V7.1 Serial\Controll All\obj\Debug\Controll All.pdb +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\bin\Debug\Controll All.exe +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\bin\Debug\Controll All.xml +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.exe +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.xml +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\V7.1 Serial\Controll All\obj\Debug\Controll All.pdb +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\bin\Debug\Controll All.exe +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\bin\Debug\Controll All.xml +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.exe +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.xml +C:\Users\user\ROC Alfa-college\Schuurman, Mathieu - Project jaar 3-4\Program\Controll All\obj\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\bin\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\bin\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V8 Control All\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\bin\Debug\Controll All.exe.config +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\bin\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\bin\Debug\Controll All.pdb +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\bin\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\bin\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.vbprojResolveAssemblyReference.cache +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.resources +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\WindowsApplication1.Resources.resources +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\WindowsApplication1.Serial_Data.en-150.resources +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.vbproj.GenerateResource.Cache +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.vbproj.CoreCompileInputs.cache +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\en-150\Controll All.resources.dll +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.exe +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.xml +C:\Users\user\Desktop\Visual studio\V8 Serial\Controll All\obj\Debug\Controll All.pdb diff --git a/Controll All/obj/Debug/Controll All.vbproj.GenerateResource.Cache b/Controll All/obj/Debug/Controll All.vbproj.GenerateResource.Cache new file mode 100644 index 0000000..a2de57b Binary files /dev/null and b/Controll All/obj/Debug/Controll All.vbproj.GenerateResource.Cache differ diff --git a/Controll All/obj/Debug/Controll All.vbprojResolveAssemblyReference.cache b/Controll All/obj/Debug/Controll All.vbprojResolveAssemblyReference.cache new file mode 100644 index 0000000..4a5052b Binary files /dev/null and b/Controll All/obj/Debug/Controll All.vbprojResolveAssemblyReference.cache differ diff --git a/Controll All/obj/Debug/Controll All.xml b/Controll All/obj/Debug/Controll All.xml new file mode 100644 index 0000000..175465d --- /dev/null +++ b/Controll All/obj/Debug/Controll All.xml @@ -0,0 +1,26 @@ + + + + +Controll All + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + diff --git a/Controll All/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Controll All/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..3145b95 Binary files /dev/null and b/Controll All/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Controll All/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Controll All/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0ceb17c Binary files /dev/null and b/Controll All/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Controll All/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll b/Controll All/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll new file mode 100644 index 0000000..420663d Binary files /dev/null and b/Controll All/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll differ diff --git a/Controll All/obj/Debug/WindowsApplication1.Resources.resources b/Controll All/obj/Debug/WindowsApplication1.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Controll All/obj/Debug/WindowsApplication1.Resources.resources differ diff --git a/Controll All/obj/Debug/WindowsApplication1.Serial_Data.en-150.resources b/Controll All/obj/Debug/WindowsApplication1.Serial_Data.en-150.resources new file mode 100644 index 0000000..34c5fd9 Binary files /dev/null and b/Controll All/obj/Debug/WindowsApplication1.Serial_Data.en-150.resources differ diff --git a/Controll All/obj/Debug/WindowsApplication1.Serial_Data.resources b/Controll All/obj/Debug/WindowsApplication1.Serial_Data.resources new file mode 100644 index 0000000..7f28e71 Binary files /dev/null and b/Controll All/obj/Debug/WindowsApplication1.Serial_Data.resources differ diff --git a/Controll All/obj/Debug/WindowsApplication1.vbproj.FileListAbsolute.txt b/Controll All/obj/Debug/WindowsApplication1.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..239899a --- /dev/null +++ b/Controll All/obj/Debug/WindowsApplication1.vbproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\Jellewie\AppData\Local\Temporary Projects\WindowsApplication1\bin\Debug\WindowsApplication1.exe.config diff --git a/Controll All/obj/Debug/en-150/Controll All.resources.dll b/Controll All/obj/Debug/en-150/Controll All.resources.dll new file mode 100644 index 0000000..c9505bd Binary files /dev/null and b/Controll All/obj/Debug/en-150/Controll All.resources.dll differ diff --git a/Readme.txt b/Readme.txt new file mode 100644 index 0000000..12a948e --- /dev/null +++ b/Readme.txt @@ -0,0 +1,22 @@ +File for arduino (need Arduino software) + \Arduino\Arduino.ini + +File to run on windows* + \\bin\Debug\.exe + +File to open and edit (need visual studio) + .sln ([opt:]ctrl+alt+L [and then] controll all - control all.vb[double click on this]) + + + + + +*The .exe might also be in the same folder as this file. Also I can't afford paying Windows to have an 'checked and virus free program' so windows will display a warning, if you don't believe in me feel free to not use it, but the source code is in the folder and you can check the code yourself if you want. I have NOT put a virus in it. +Also the folder name is problatly 'Controll All' and wrong, sorry but I VB doesn't allow me to change that name + + + +you can contact me though my youtube channel (or support me) +https://www.youtube.com/channel/UCBS63QOYXf7eo42Q1Et9eew + +Kind regards, JelleWho \ No newline at end of file diff --git a/Serial Read.exe b/Serial Read.exe new file mode 100644 index 0000000..c1f3bc6 Binary files /dev/null and b/Serial Read.exe differ