At the risk of appearing to be an idiot, I’m going to blog this so I don’t forget. Especially since it bit me twice *in the same project*. Oops.
In .NET 2.0, the old method of getting information from the app.config has been depreciated. The new method is:
ConfigurationManager.ConnectionStrings.Item(YourDB).ConnectionString
For this to work, though, you need to remember to add a reference to System.Configuration. This needs to be done for each project in the solution that uses it. Thankfully I figured out that last bit pretty quickly.
I like to keep a good separation between forms and function in Windows applications I write. So to call a login form, I might call a public function on the login form like: Login.GetLogin(loginName, password).
As I’m getting back into blogging again, I was going to write a post about my little group of friends and their blogs. It seems that Prust | Interactive is blogging his endeavors again. I’m glad to see that. Also, in the past week, My Financial Journey had the number one post on both del.icio.us and reddit and ended up on the front page of Digg with a post on a Frugal cure for a sore throat. Congrats!
As I was reviewing our eldest son’s homework this weekend, he showed me a poster he had created about the process of getting milk from the cow to the glass.
It reminded me of the same one I did 20 years ago.
I have to admit, his has a lot more humor going for it. I remember taking this so seriously.
When David Seah suggested the monthly review of Groundhog Day Resolutions, I thought the idea was brilliant. It is one thing to have goals, but another thing to actually review how you are doing on them. Little did I know how quickly a month passes.
Recently I’ve noticed a poor speech habit I’ve picked up. Using the word “so” as the start of a sentence. I might say, “So, do you want to order sushi?” Its a pretty bad habit that I’m noticing I do all. the. time. Even my writing is not exempt. I keep having to edit the “so”s out of blog posts.
I wonder if it isn’t a local colloquialism, as I listen to my own speech I hear others using it a lot as well. I think it may be a theoretically more intelligent-sounding way of getting the word “uh”.
It could be worse. We Wisconsinites could be tacking “or no” on the end as well.
So, do you want to order sushi, or no?

