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!
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.
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.