» posted on Thursday, October 11th, 2007 at 6:13 pm by Garrett
Program Progress
I have been writing computer code since I was 10, pounding away on the keyboard of my dad’s Atari 800 back when BASIC came on a cartridge, and programs were stored on audio tapes. Computers and programming have always made sense to me, and I’ve been blessed with a unique capacity to discern what applications are doing. I exercise that ability every day in my job, diagnosing problems with SAP which (more often than not) are the result of users not understanding or misusing the system rather than the sytem doing something unexpected.
So why the history lesson? Because I suprised myself recently, or more specifically the power of Visual Studio 2005 suprised me. For months I have been struggling with how to implement some design environment functionality for the BrewzNET software I’ve been working on for over a year. In fact, I took a several month hiatus during July-Oct and have not written a single line of code in that time – until this week. It is amazing what happens when you walk away from something and come back to it with fresh eyes. The primary concepts I struggled with (and prompted me to walk away) were how to implement the component and property list functionality when setting up a sculpture interface – namely how to make them look similar to the VB2005 IDE, which I feel is fairly user friendly and intuitive. I could write mountains of code and build custom components to do that, but the effort involved did not seem worth it.
Fast forward to Tuesday evening, when I was bored and playing around, only to discover a standard out-of-the-box component I was not familiar with – The PropertyList. It is exactly what I needed, and is (I believe) the same component that the VS2005 studio uses. SCORE! So how hard is it to use with my already-developed display classes for pipes, tanks, labels, etc? A single line of code implemented 75% of the functionality I was looking for – and the remaining percents are due to poorly designed object design on my part (and relatively straight-forward to resolve). The result speaks for itself – a flexible and professional looking property editing list. It works very well with the control-point functionality I had already implemented, and seems to update itself automatically when properties change.
Inspired by my newfound functionality, I endeavored to unlock the secrets of the component toolbox list. A quick SPY++ look at the VS2005 component list yielded the class name of “TBToolBox”. At first that didn’t mean alot to me, and I checked for a “toolbox” component hoping for a similar eureka! moment as with the PropertyList. Alas, it did not happen. Instead, I reanalyzed the name, and realized that the “TB” at the beginning of the class name stood for “Toolbar”. Voila! 10 minutes later, I had a prototype component list that looks strikingly similar to the VS2005 one.
So with some hesitation, I declare “GAME ON!!” for my control system development again. I hope to have a screen design environment completed by the end of the year, perhaps with some of the event model code completed as well. I have a short overnight business trip to CII scheduled for early November, so I may have time to code while en-route and Thursday evening. 5 1/2 hours in the air each way to Austin – YUCK.
Print This Post
filed under Tech geeks | post a comment
Leave a Reply
You must be logged in to post a comment.
» First State Brewers ShoutBox

- Info : Please, resolve the addition below before post any new comment...
- Seth : I'll be at Martys for the meeting. Anyone else going to the Beer & Bocce thing at Iron Hill tonight?
- Scott Johnson : ScottB: Still cant get my avator to work! what are the file requirements for it?
- Scott Johnson : Again, unfortunately I can't make it, gotta head to Norfolk for work that night!
- ScottB : Anyone going to the meeting Friday at Marty's house?
- JoeBob : I'll be in Newark around 3:30 for the festivities
- Seth : Hey everyone, big weekend for beer. Sat is the 7th annual Newark Food and Brew Fest. At least 4 new brewers (including 2 Belgian) that I can tell. Also this weekend is Stewart's Brewing Co's 15th Anniv. They're having stuff all week starting Fri.
- ScottB : Hey folks! Is anyone coming to the meeting this Friday?
- ScottB : How was the meeting last Friday? Sorry I couldn't make it.
- ScottB : Meeting Friday, 6/18, at How Do You Brew!
- ScottB : Check out the old club pics! «link»
- ScottB : 7pm to 10pm
- RavenChief : Thanks, I am not sure I can make it up there on the 18th. But what time do you all get togeather?
- ScottB : The next meeting will be this Friday, June 18 at the How Do You Brew store
- ScottB : Check out the new Mingle social network I just added to this site!
- ScottB : RavenChief, the next meeting will be this Friday, June 18. I have to confirm the meeting location.
- RavenChief : Hi folks, just wondering when and where you might be getting togeather for a meeting?
- RavenChief : Howdy
- ScottB : Cool!
- Seth : w00t! Brewed an Irish Red on Sun and put it in my new fermenter. I is a happy brewer!
- Seth : Anyone else planning on getting some malt from HDYB during the sale? Anyone only need half a big ole bag o'malt?
- ScottB : mike g77, sorry I did not see your message before the last meeting. I have added your email address to my distribution list so you will get the meeting notice next time.
- Seth : Have to have an organization in order to get them? If we bring in cones to compare at a meeting is it "research?" I say yes!
- Seth : Think maybe they'll buy "research" on the testing local terrestrial conditions (terroir) and lattitude orientation variabilities on the flavor and aromatic proporties on various hops varieties in regards to brewing and other commercial applications? Worth a shot, I say.
- Seth : Interested in the Southern Brewer and the Blue Northern Brewer, myself.
- Scott Johnson : looks interesting, but seems that you have to report back on your "research" May have to try it....researchin g about how homegrown hops makes my beer better :)
- Seth : Interesting. Saw this from Morebeer's facebook posting: USDA Germplasm Resourse Information Network (GRIN) has hops rhizomes for free, for research purposes. Anyone tried it? Here's the link: «link»
- mike g77 : How can I get directions to the next meeting?
- ScottB : I'm not sure. See if you can make the pic the same size as your current one before trying to change it.
- Scott Johnson : ScottB, I am having issues changing my avatar...is there a specific file type or size?
- Scott Johnson : dude, saw the pics, Very Nice!
- ScottB : Where are the pics?
- Seth : It's here! It's here! Nice shiny, still needs to be cleaned stainless steel 14.5 gallon fermenter. Bwahahahaha!
- ScottB : Louis, I heard that. Who did he sell to?
- ScottB : Check out the Big Brew site: «link» site#:445 | Heavy Handed Brewing, Wilmington, DE, site type: residence, email: Jay White «email»
- ScottB : No time to organize a Big Brew now.
» Mingle Status
Find Friends Today! - Show All
Total Comments: 0 |
Total Comments: 0 |
Total Comments: 0 |
Total Comments: 5 |
| Louis |
| Well Scott, I wrote this comment first but I don't know what... |
| FirstStateBrewer |
| At the menu at the top, drop down the Mingle menu and select... |








» Recent Comments