Search results for query: *

  1. C

    Getting width/height of image without loading the whole thing...

    Nice that is exactly what I was looking for, and bonus, I also needed to get the run length of audio and video files and it looks like this method will work for that as well! Thank You!
  2. C

    Updating large list instantly - Datagridview vs. Listview vs. ???

    I ended up using a BindingSource to bind a List of my own object type to the DataGridView and I am very pleased with the result so far. Thanks for the help.
  3. C

    Getting width/height of image without loading the whole thing...

    For my application I am required to get the pixel dimensions of thousands of images of various formats as quickly as possible. Right now I am loading the image into a bitmap using standard .NET code (something like Dim img as Bitmap = Bitmap.FromFile(PathString), width = img.Width, etc...). This...
  4. C

    DataGridView DataError exception when removing items from bound list

    I found a potential solution to this, not sure if it is the right thing to do though... after I change the data in the list (specifically the number of elements) I can call the ResetBindings() method of the BindingSource class before refreshing the DataGridView... Seems like this shouldn't be...
  5. C

    DataGridView DataError exception when removing items from bound list

    Hi, I am using a DataGridView bound to a BindingSource which is itself bound to a List of objects. This all works well until I remove objects from the list. If I am scrolled down to the bottom of the DataGridView and then remove a bunch of items from the list it is bound to it generates a...
  6. C

    Question text from textbox by name?

    Aside from the problem you specifically asked about the code you posted is a mess... The first few lines of the function: intcount = 0 If intcount = "0"ThenGoTo actualsums actualsums: Do nothing... you set a variable to zero and then immediately check to see if it's zero... it will always be...
  7. C

    Question text from textbox by name?

    The line: firstlinetext = "textbx" & intcount.ToString is I assume the first line of text you want to be in your text file... but look at what you're doing, you're using the string literal "textbx" and concatenating it with the string representation of an integer value... you will always get...
  8. C

    Updating large list instantly - Datagridview vs. Listview vs. ???

    Thank you very much I will give that a try!
  9. C

    Updating large list instantly - Datagridview vs. Listview vs. ???

    Hello, this is my first post here, I registered because I have a problem and I was wondering if anyone here would have a good idea to help me. What I am trying to do is to instantly apply a filter to a large list of data such that the list is updated almost immediately regardless of the number...
Back
Top