» 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

- ScottB : Sounds like a deal!
- Bill : Mke that 13.75
- Bill : U-haul in wilmington fill 20 pounds of propane for $13. They give you a sticker for $1 off on your next fills or $12.75.
- Bill : Anyone know the cheapest place for propane in Newark area?
- ScottB : That Cherry Wit is ready and delicious!
- Scott Johnson : is that cherry wheat going to be ready to try? I am salivating thinking about it!
- Scott Johnson : I believe that I can make it! May even see if the munchkin is up to it too, thanks!!
- ScottB : You're welcome to bring the whole family, if you'd like!
- ScottB : Hey Scott J! The next meeting is at my house on the 19th. Can you make it?
- Scott Johnson : I hope to do another brew this week, but it is for my neighbor as payment for looking after my house :( will have to do another for myself!
- Scott Johnson : Nice, I just did a maibock about a month ago, turned out fantastic!
- ScottB : I brewed the Maibock last night. :-)
- ScottB : My next brew will be a Maibock. Hope to brew that tonight!
- ScottB : The March meeting is at my house! I have 6...count them...6 homebrews on tap! :-)
- ScottB : Hey folks! Anyone bringing a lager to the meeting this Friday at JoeBob's house?
- ScottB : Thanks Seth. I saw that on Fox News this morning.
- Seth : Beer: It does the body good! «link»
- Seth : Was going thru Comcast On Demand stuff last night and Beer Wars is available for viewing. Going to watch it tonight.
- Scott P. : Brewing an ESB today during the blizzard!
- Toran : Beer!
- Bill : Iron Hill Wilmington no longer discounts beer for AHA members, only food.
- Bill : Sorry about the last message.
- Bill : Iron Hill no longer discounts beer for a
- Seth : Ok, two others for an order. You guys looking for any type of hops in particular? I'm looking for Glacier and Fuggle.
- Toran : ScottB will do, and looking forward to it
- Kent : I wouldn't mind goin in on a hops rhizome order. let me know. as for the DFH comp, Im down! I will at least enter my double dark IPA, if not, maybe my kolsh or belgian imp oatmeal stout if ready?
- ScottB : You can dig up as many as you'd like!
- ScottB : I will be hosting the March meeting. Bring some bags. :-)
- Toran : I'd like some rhizomes!
- Scott P. : I have some Cascade rhizomes also, if anyone is interested?
- ScottB : I have so many hops growing up the side of my house already. I have nowhere to put any more hops. But, feel free to come over to my house this Spring to dig up some rhizomes for free!
- Seth : Anyone thinking of getting some hops rhizomes for the spring? Want to combine orders to save on shipping?
- ScottB : There is a a recipe section on the forum.
- Scott P. : Yep, you guessed it......drunk typing!
- Scott P. : "is in order!"








» Recent Comments