Recent content by durilai

  1. durilai

    replace help

    Now, I am getting a new error: "Data Type Mismatch in Criteria Expression" Is that because the database field is an integer?
  2. durilai

    replace help

    I have a simple form with a text box and a submit button. Once submitted the value in the text box is checked against a table, if there is a match it adds it to another table. The problem is this program is set up to allow scanning of barcodes, but the ID is for ex. A000123, and it works if I...
  3. durilai

    Checking text fields

    I have a form with two text fields. 1. Is used to enter a number and locate that number in a table 2. Is used to enter a name to search On the first one they enter an ID, the ID is given to them like: A000123 But the actual ID is only 123, so I want to trim anything before first...
  4. durilai

    Listview columns

    First off thanks for the time and help. I am still new to the .net enviroment and I have no c background at all. I did try the conversion tool, but it would only error on me. If you have anything else I would appreciate it. Thanks
  5. durilai

    Listview columns

    Thanks for the link, but the example is in C#. I have no experience with C#, so if you know of a vb.net I would appreciate it. The main thing I am trying to accomplish is that I have have a id field that I set the width to 0 in order to hide it and I would like them to not have the chance to...
  6. durilai

    Listview columns

    Is there a way to lock the width of a column in a listview?
  7. durilai

    Listview struggles

    That refresh issue worked very well, except in one instance. I have created a txtfield that can be submitted on clicking enter or when a button is pushed, then a form pops up with a listview populated of all the name that match the txtField. I then can select one row, and click another button...
  8. durilai

    Write Listview data to table

    Worked like a charm, thanks a bunch.
  9. durilai

    Write Listview data to table

    I have a listview that is populated by an access table, and I want to write all of the values in the listview to a seperate table. I get an error: specified argument was out of the range of valid values parameter name: index The vclassid2 variable is a public varible from a different form. I...
  10. durilai

    Listview struggles

    Thanks for the help the pass value item worked, i cant believe I was having such a problem with that. I guess the first thing I need to do is to not relate VB 6.0 to VB.NET. As for the refresh a listview, I am not sure if that is what I m looking for. I need the listview to be refreshed when the...
  11. durilai

    check a table

    I have a form with a text field that adds a record to a table, I want to check the value from that text field with a different table to see if it is valid. With the code below it will right the data if the record exists, but if it does not exist then I get an "Row Handle is Invalid" error. What...
  12. durilai

    Listview struggles

    Thank you for your input I am going to paste my code here, if you could see whats wrong. #Region " .... dbconn .... " Dim strSQL As String Dim con As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "/TEST.mdb; Persist Security Info=False;" Dim oledbcon As...
  13. durilai

    Listview struggles

    I have a simple form that has a listview that is populated by a table in access. There is a button that opens another form using showdialog so that the first form stays in the background. The second form is used to add a value to that same access table. When I click the add button I want the...
  14. durilai

    VB.Net and listviews

    I am sure this has been covered, but I cannot find it. I am in the process of learning vb.net and I am working with a listview that is populated by an access table. I want to be able to pass the id of a selected item to another form in order to do another query based on that value. I am having...
  15. durilai

    .NET Newbie

    Thanks Thank you for that example, it was exactly what I was looking for. I am now on to bigger and more complex things.
Top Bottom