|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 09/11/2009 at 06:41PM PDT, ID: 24726296 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: |
'This is form 3
<System.Runtime.InteropServices.ComVisible(True)> Public Class Form3
Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
If e.KeyCode = Keys.Tab Then
TextBox1.Clear()
TextBox1.Text.Length.Equals(16)
End If
End Sub
Dim Found As Boolean
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim Found As Boolean
Dim dTable As New DataTable
dTable.Columns.Add("Code", GetType(String))
If TextBox1.Text.Length.Equals(16) Then
For i As Integer = 0 To Form2.Column1DataGridViewTextBoxColumn.DataGridView.Rows.Count - 2
If Form2.Column1DataGridViewTextBoxColumn.DataGridView.Item(0, i).Value = TextBox1.Text Then
Found = True
My.Computer.Audio.Play("O:\Groups\02-Public_IT\Shared_IT\Parvo_noise\beep.wav")
Form2.ScannerUnitsDataGrid.DataGridView.Item(1, i).Value = "MATCH"
Me.TextBox1.Clear()
Exit For
Else
Form2.ScannerUnitsDataGrid.DataGridView.Item(1, i).Value = "NO MATCH"
Dim drow As DataRow = dTable.NewRow
drow(0) = Form2.ScannerUnitsDataGrid.DataGridView.Item(0, i).Value
dTable.Rows.Add(drow)
End If
Next
If Not Found Then
My.Computer.Audio.Play("O:\Groups\02-Public_IT\Shared_IT\Parvo_noise\yikes.wav")
MessageBox.Show("not there")
End If
Found = False
Form2.DataGridViewNoMatch.DataSource = dTable
End If
End Sub
|
Advertisement