In line 33 you are using collBlock as a method, not an object, and it can't find any method named collBlock. What you should have is this:
DataBlock aBlock = (DataBlock)collBlock[name]; // square brackets
Momerath
Nearly a Senior Poster
3,384 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558