Search results for query: *

  1. A

    com port as external button (RTS CTS)

    Hello, i want to ask you if is there somebody who have experience with com port as external button. I took one switch and com port cable where i connected port 4 with port 8 and now i want check if user pushed button. I checked google and find that i need use RTSHolding and created this code...
  2. A

    textbox validation - tab key

    Hello, i create validation value from Textbox which is fired by button (fin working), but is there chance to fire it by tab key? All data which will be putted by barcode scanner. Protected Sub ValidateUser_Click(sender As Object, e As EventArgs) Dim userId As String...
  3. A

    Array of number - order check

    thanks for your answer, problem is that the compare loop must be every time when user enter some value we have [5,3,7,2,1,4,6] user inputs | system 1,input : 4 | you write 4 but you should 5!! 2,input : 7 | you write 7 but you should 5!! 3,input : 5 | good one 4,input : 3 |...
  4. A

    Array of number - order check

    Hi guys, i want to ask if is possible to check if user input data in specific order which is specified from array [5,3,7,2,1,4,6] and I want to that user will type 5,3,7,2,1,4,6 and if it will be different then it will call "please follow instructions". I want to avoid select case thank Antra
  5. A

    win from access into database

    Hi guys, i want to ask you if what i do is correct way (expecialy if there is no any problem about load of database or memory leaks). My program try to check units in system and base on requirements user can print some data from zebra printer. First fing is find data in database, check if was...
  6. A

    read data from USB

    Hi guys, i would like ask you if somebody have experience with reading data from USB. I have weather station and i want to download data (i know that there is many softrares for this - easyweather,cumulus, pywws, etx), but actually i want presend data in little bit different way. I tried find...
  7. A

    Validate TextBox Contents Before Use

    so something like this (logic) should handle it https://msdn.microsoft.com/en-us/library/system.windows.forms.control.validated%28v=vs.110%29.aspx
  8. A

    Validate TextBox Contents Before Use

    yes, but when i will write some character into textbox1 then it will be cleared, because lenght is less then 14 Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If TextBox1.TextLength = 14 Then Else...
  9. A

    Validate TextBox Contents Before Use

    Dear jmcilhinney, firstly i am sorry that i continued in old thread. Now about textbox problem: i need textbox where user can scan data (user is able to scan data with lenght 5 to 23 (big paper with XX barcodes), but i am interested in only one type - 14 letter string). When user will scan my...
  10. A

    Validate TextBox Contents Before Use

    Thanks, its help, but now i have little bit different issue. I have textbox, where maxlenght = 14 and i need that when this textbox contain string with lenght 14 then data will be saved in database otherwise textbox will be clean. Data will be added by scanner. I tried len function under...
  11. A

    Copy data from one table to another

    Dear guys, would you mind to help me with copy data from one table to another? First table have data from acces database and this table load data by bindingsource (ez way). For this table i have filter something like this SeqMatBindingSource.Filter = "(Part_Group LIKE '" & hv_column_text.Text &...
  12. A

    Update dataviewgrid DB

    I change code for this, but have error "Syntax error in UPDATE statement.". I tried to find how to fix it on google but without success Private Sub update_times_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles update_times.Click conn.Open() For i = 0 To...
  13. A

    Update dataviewgrid DB

    Hi All, I have code where I load data from database into dataviewgrid, but have problem with update. I tried to replace select for update but without any changes. Any ideas? Public Class Form1 Public connstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data...
Back
Top