Sunday, September 30, 2007

BindableList

I've been working on a programming project at work that will be a data entry front end to an MS Access database. Saturday I was working on binding a DataGridView control to a generic list of custom objects returned from a function that queries the database. Everything worked fine when the form was initially loaded, but any edits to the data were not pushed back to the underlying list. It took a few attempts at firing the DataGridView's update and refresh methods before I realized this. After a few more minutes searching the internet I found that I need to use the BindableList(Of T) in the System.ComponentModel namespace. After changing the references to this new type, everything works great! What I want to know is why this type is in the ComponentModel namespace instead of the Generics namespace along with the List(Of T) type. I will have to do a little more research on this one.

Thursday, September 27, 2007

Another step closer

Tonight marks the end of another session of classes and I am one more step closer to finishing my bachelors. After a break next week I will be starting Object oriented programming 2 and discrete math. I'm looking forward to both and I'm hoping the programming class is a little more challenging than the last. Since I have a decent amount of experience in VB, object oriented programming isn't really new to me and I was able to breeze through the class without any problems. I'm hoping the next will cover something more advanced and I can learn something new. It's doubtful, but I'm an optimist.

I watched the Hot Rod TV today on ESPN2 because they were supposed to show a Faro in use during the build of a car. From what I saw, that's all they did was show it being used in the background. No mention of what they were doing with it or that it was even a measuring device! I know they spend allot of money building these cars, but you think if they have close to $200,000 of equipment in use you might want to mention what you are using it for. Ah well, at least it wasn't a Romer. :)

On a related note, I saw the new Faro Quantum arm on the website this week. Very cool! I will definitely be trying to get one if we need another arm. 30% more accurate, bluetooth communication, probe recognition and a sleep mode. The bluetooth and sleep mode should help with battery life over the Romer Infinite arm. However, I do find the call and response between Faro and Romer a little humorous. Romer releases an arm with wifi wireless, Faro uses bluetooth a year or so later. Faro released a small arm with simplified software (the Faro Gage), and now I saw on the Romer site the other day they are releasing a 4ft arm for measurement at the machine. I'm just curious to see what the next truly 'new' idea will be.

Thursday, September 20, 2007

A better world

I have come to the conclusion that the world would be a better place if everyone drove Honda Elements for one reason... fewer bugs. If you have ever driven one at dusk you know what I mean.

Wednesday, September 19, 2007

My new blog

I finally broke down and decided to start a blog. They always say you should keep a journal and a blog is really nothing more than a 21st century journal. We'll have to see how much it gets used and what I can think of to post, but it should be interesting no matter what. (At least for me) I look forward to posting some good tidbits and hearing from you as well.