Search results for query: *

  • Users: Rossy
  • Order by date
  1. R

    moving data between two DT bound listboxes

    When i step through them, the dRow item array lists the row that i want to take out, the only thing is now it doesn't error due to the if statement. If you look at my original code to add a row For index = 0 To max_index dRowView = lstAvailable.SelectedItems.Item(index)...
  2. R

    moving data between two DT bound listboxes

    Well, the first problem is that I am forced to add all the rows before removing any because as soon as i remove a row the listbox gets refreshed and the SelectedItems are lost. So here is the snippet of code i have to add a row to the chosen table. For index = 0 To max_index dRowView =...
  3. R

    moving data between two DT bound listboxes

    I have two listboxes(source and destination). Both are bound to their own data tables. Im trying to set this up so that i can select multiple fields from the source and then click a button that then pushes them to the destination data table and removes them from the source data table. This...
  4. R

    simple printing in VB.net, why so hard? please help

    Ok All I want to do is print a string on a piece of paper. Sounds simple enough right? Well, for some reason when i use the code below, my printer only prints a portion of the text instead of the whole thing. So, i busted out the ruler and noticed that it is printing 8.5cm across and 11cm...
  5. R

    Error w/DB connection

    Wow, my mistake. Sometimes i get so caught up in the VB code i just forget that i might make a mistake with the sql. I was reading the Contact column in the database when i should have been reading the Event Column. Sorry... and thanks again for the help. If i need anything else with this...
  6. R

    Error w/DB connection

    Well, tried it with your code and got the same thing...nothing. So i did a debug and noticed that when it gets to the if statement below it doesnt execute the code within the statment. If objRead.Read = True Then So i went step by step into the code and after the objRead.ExecuteReader code...
  7. R

    Error w/DB connection

    wow, the response time from you guys is amazing and very informative. Thanks so much. Now im having another problem. I have a total of 9 columns in each row of the DB (ID, Event, Contact, Address, city, state, zip, Phone, and Directions). I am trying to display each of these columns into the...
  8. R

    Error w/DB connection

    Thank you guys so much for all the help your giving to me. i can now connect to the db and ive come to another bump in the road. I would like to populate a drop down combo box with all the contact column in my database. This way a person can click the combo box and have a drop down of all the...
  9. R

    Error w/DB connection

    Hello, im new to VB.Net and im now in the process of trying to set up my first application to read/write to a MS Access database. So now i have a couple of q's. First my connection String Dim CString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Brian\My...
Back
Top