Search Results - VBForums

Search:

Type: Posts; User: wes4dbt

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: update via datagridview not updating the sql server back-end

    So either dbAdapter or ds is Null, which means they haven't been created within the current scope. You need to post your current relevant code.
  2. Re: reading from a CSV to DataTable

    There's more than one way to achieve your goal, but there's lots of examples to choose from, just Google "visual basic import csv to database". IanRyder example isfine but he doesn't address taking...
  3. Re: How to fetch number of times users transaction insert update n delete using Data

    The file example isn't a CSV file. I don't see any commas.

    If you want to keep track of Add/Edit/Delete functions, why not track it from within the program?
  4. Replies
    2
    Views
    107

    Re: Auto-scrolling a DataGridView?

    If your using a bindingsource you could do something like this,

    Private Sub ToolStripButton1_Click(sender As System.Object, e As System.EventArgs) Handles ToolStripButton1.Click
    Dim...
  5. Re: Simple log in method suddenly stopped working

    That's insane, but then again, if you charge by the hour and it was their fault, you should just consider it job security. ;)
  6. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    SELECT wholename FROM dbo.EmpName WHERE Salesperson = 1

    Are any of the properties for the combobox, like DisplayMember, ValueMember or SelectedValue set to any other than "wholename", sense that's...
  7. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    If there is more than one datatable then you have more code.

    Anyway, maybe someone else can figure out what's going on. Good luck
  8. Thread: Base-64 Error!

    by wes4dbt
    Replies
    19
    Views
    353

    VS 2015 Re: Base-64 Error!

    Well you need to post the relevant code. If your running this using the IDE then you be able to tell where the error occurs in your code. You should at least be able to tell which event or...
  9. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    I don't have an answer for you but I would suggest a couple of things. When you post your code, post the actual code and not just part of it. So if there is more code in your Form_Load event post...
  10. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    So are all the comboboxes filled by the same datatable?
  11. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    When does the exception occur? When you start the program, when the form load, when you click on the combobox. The IDE usually stops on the line of code causing the error.
  12. VS 2012 Re: Bound Combobox throws System.ArgumentOutOfRangeException

    There has to be code, the tableadapters have to fill the datatables when the form loads. Look in the form_load event. Also, you put that code inside a Try/Catch block and maybe it will give you a...
  13. Replies
    2
    Views
    99

    VS 2010 Re: Viewing form problem

    dday9, Thanks for the reply. It was actually doing it on all forms not just new ones.

    But once I was able to rebuild the project, the problem went away. Don't know why, but it worked.
  14. Replies
    2
    Views
    99

    VS 2010 Viewing form problem

    As I said in my previous post I had to do a complete system restore and I'm finding that some files are missing.

    I've got the projects loading ok and I'm able to view the forms code but when I try...
  15. Thread: Missing files

    by wes4dbt
    Replies
    2
    Views
    101

    VS 2010 Re: Missing files

    tg,
    thats good news. I'll manually backup all projects before I try though.

    Thanks for the reply.
  16. Thread: Missing files

    by wes4dbt
    Replies
    2
    Views
    101

    VS 2010 Missing files

    I had to do a complete system restore, I thought my backup software had me covered but I was wrong. My VB projects are missing there .sln, .suo, .vbproj files. I do have the .vbproj.user file.
    Is...
  17. Replies
    8
    Views
    244

    Re: How Would I Write A Sql Query for this?

    You still haven't answered how you have designed the database.
  18. Replies
    8
    Views
    244

    Re: How Would I Write A Sql Query for this?

    How do you have the database tables setup? A Members table and a Meetings table with a relationship between the two table using the MemberId?

    I wouldn't use buttons in the grid to mark...
  19. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    WOW, thanks for the reply but to be honest, I think something was lost in the translation or where ever your from, they have a different dialect of English compared to the USA. But I think I got the...
  20. VS 2013 Re: How to make the SQL server a setting

    Are you talking about the connection string?
  21. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    That sound encouraging, thanks for the links.
  22. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    No, didn't realize reinstalling the Windows OS would also include having to install HP drivers. This machine is only around a year old and actually still under warranty, Costco gives you a 2 year...
  23. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    dilettante, thanks for the reply

    I've found several articles about downloading Windows 7 ISO to a CD or flash drive and use that to reinstall the OS. Like this one...
  24. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    thanks for all the replies, but so far this has turned into a HDD vs SSD discussion, well I bought the SSD before I posted this question so it's a done deal. So far the only answer to my question...
  25. Replies
    19
    Views
    387

    Re: Migrating from HDD to SSD

    Why??



    As I said before, I don't have a Win7 installation disk and I not sure if the Recovery disk I have on my flash drive will work. I watched one video of an upgrade from HDD to SSD on a HP...
  26. Replies
    19
    Views
    387

    Migrating from HDD to SSD

    My HDD that came with my machine has problems, the HP utilities says I have a disk problem (can't figure out what their error code means) and my machine does strange things sometimes and I have to...
  27. Replies
    6
    Views
    181

    Re: Cancel current print page

    Isn't there someway to remove the stations you don't want to print before you start the printing process?
  28. VS 2013 Re: [RESOLVED] Add row to SQL Server table with Primary Key ID field using Identity S

    Lots of good information Here
  29. VS 2013 Re: [RESOLVED] Add row to SQL Server table with Primary Key ID field using Identity S

    I use the wizard all the time but you have to make sure if you modify the database that the dataset gets updated. You can manually create a type dataset, just Project->Add new item->Dataset.
  30. VS 2013 Re: [RESOLVED] Add row to SQL Server table with Primary Key ID field using Identity S

    When using datasets created by the Wizard from a database, when you modify the database, sometimes its just best to delete the affected datatable from the dataset and then run the wizard and add it...
  31. VS 2013 Re: Add row to SQL Server table with Primary Key ID field using Identity Specificatio

    My guess is that your not working with the database that you think you are. If you added the database to your project and the IDE is in Debug mode, check the database in the "bin\debug" folder. ...
  32. Replies
    8
    Views
    302

    VS 2013 Re: [RESOLVED] Find smallest value ListView

    No I don't, there is just no need to test index 0 because you just assigned it to "smallestNumber". If you tested index 0, you would be testing the same two values.
  33. Replies
    8
    Views
    302

    VS 2013 Re: Find smallest value ListView

    Your only testing SubItem(1)
  34. Replies
    8
    Views
    302

    VS 2013 Re: Find smallest value ListView

    Try this,

    move the Dim smallestNumber outside the loop, otherwise your just resetting it every loop



    Dim num As Integer
    num = Me.ListView1.Items.Count - 1
    Dim...
  35. VS 2010 Re: Decimal number to integer conversion problem.

    Sure it does,

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click

    Dim decNum As Decimal = CDec(0.4)
    decNum = decNum * 100
    ...
  36. Replies
    3
    Views
    135

    Re: [RESOLVED] Convert ListBox Items to String Array

    You just select "Post a new thread", you might have to be a member. But if you do create a thread please provide a more complete description of what your trying to do. Your previous post really...
  37. VS 2013 Re: Help adding records to a SQL server using strongly typed dataset

    Here's an example,

    Using ta As New WaterDbDataSetTableAdapters.CropsTableAdapter, dt As New WaterDbDataSet.CropsDataTable
    ta.Fill(dt)

    Dim row As...
  38. VS 2013 Re: Help adding records to a SQL server using strongly typed dataset

    Get rid of that, it doesn't update the database.

    You need to create a TableAdapter for the Errors table.
    Then create a Errors DataTable and then fill it with the Errors TableAdapter
    Then...
  39. VS 2013 Re: Is there anywhere on the Internet a self programmed Win7 Calculator?

    How is that 512?

    9 + 7 = 16
    / 2 * 8 : Divide by 2 then time 8 = 64 or divide by 2 * 8 = 1
  40. Replies
    2
    Views
    138

    VS 2013 Re: Hating on the Dataset Wizards

    I have a love hate relationship with datasource designer. I love how quick and simple it is to create a datasource. I love using the dataset/datatable in my code because I don't have to manually...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width