Search results for query: *

  1. C

    Cannot get Progress Bar to Update while running tasks in WPF

    Not sure what I am doing wrong, but I can't get it to work. I am doing a CPU intensive task where I am creating a large number of players for a football game I am making, and I am using the Task.Factory.StartNew method to run it on. I then create a separate task for the Progress updater but I...
  2. C

    Cannot Get Scrollbars on DataGrid to actually work...

    The vertical and horizontal scrollbars are showing on my DataGrid, but they don't actually do anything when you click on them. They appear grayed out and do nothing. I have seen some code where I have to encapsulate the DataGrid in a Scrollbar viewer and/or ScrollBar but as of right now I...
  3. C

    WPF OpenFileDialog runs twice?

    Not sure what the issue is, I am working on a project in WPF, and have the following code for a OpenDB Button.click event handler: Private Sub OpenDB_Click(sender As Object, e As RoutedEventArgs) Handles OpenDB.Click 'Allows user to choose which DB to open Dim MyOFD As New...
  4. C

    OOP related instantiation issue

    Working on a football game and I have the following classes for Generation of players, coaches, etc. Person which contains child classes Personnel and Players, and then Coaches and scouts which are child classes of personnel. Here is the issue I have. Inheritence is set up properly I would...
  5. C

    Cannot return a short date?

    I have tried every method you can to do it, it still is always returning the time along with it. I have tried Date.toshortdatestring() I have tried Date.tostring("d") Nothing works...still getting the time afterwards...I know I can just remove it but I am just curious as to why the method is...
  6. C

    Question Is it possible to return all items in a List/Queue without Iterating over them?

    Ok, I have a very specific situation that this would be useful for. I have a DataTable with a large number of columns(200+) that I am doing a bulk insert for in SQLite, since it does not support Update Table like SQL Server does. I want to know if there is a way after I iterate over all the...
Back
Top