Creating a dynamical AutoComplete textbox
In my recent project we have had to implement a own textbox to be able to set a few properties that force the user to follow certain formats etc. A few days ago i saw this as an oppurtunity to do something cool as an additional feature. I wanted to implement a AutoComplete feature but with the values that the user has typed in this field before. It turns out that this is fairly easy to do, since AutoComplete is a property on the TextBox control in the .NET Framework. Here is a nice video that introduce the concepts surrounding AutoCompletion So how did i do it then? First i added a handling of the Resize-event that sets the autoComplete-properties. Me.AutoCompleteMode = Windows.Forms.AutoCompleteMode.Suggest Me.AutoCompleteSource = Windows.Forms.AutoCompleteSource.CustomSource Me.AutoCompleteCustomSource = State.HamtaAutoCompleteLista(Me.Name) State.HamtaAutoCompleteLista is a function that returns the AutoCompleteStringCollection that should be used for the control. As you might notice I am...
Visual Studio Tip of the Day
is a great site for finding information on how to get the most out of
Visual Studio - Visual Studio Tip of the
New euphonium sales site
la - this is a “dangerous” place for euphonium-players. A whole site
with stuff to buy for euphonium-players….
Me like… Money gone… ;)
Swedish brass band championships 2007 - follow-up
As I predicted the Swedish Brass band championships this year was mostly a formal matter when it comes the first places. Windcorp of course took the top honors. They weren’t treated really when Stockholms Brass band didn’t show up. That Solna was second was not too surprising either. After that it was quite open and i congratulate Malmö Brass band with the third place. And that Torsby was fourth was a real feat - well done Torsby and Berit Palmquist! BK was a bit of a disappointment since they usually play very well. I had them as third in my prediction. So there you have it - lets hope that Stockholm Brass band hangs in there for another year so that the competition will get exciting again. Windcorp right now is miles ahead of the rest of the field and that cannot be good for anybody. For full results see...
VasaBand - my band!
I’ve just returned from a tour with my Salvation Army Band - the
Band. What a great group of people.
We have had an amazing weekend with lots of fun, great fellowship and
some really nice music making. The band makes me so proud - there are
only we, we’re nothing special but together we make it special.
To see two twelve year olds playing their hearts out on the
last bar of a big piece, or to hear great and insightful presentations
from a lot of members, ranging from 16 to sixty years, or to take part
in the prayers before and after the festivals - that makes me so
What a band - thank you guys for a great weekend - lets make many
How do i - great instruction resource
During the last days i have run into more and more of the
“How-do-I”-videos from Microsoft. They are really a great resource for
getting fast introduction on a subject from everything to Silverlight to
Here is the overview link:
Below it you’ll find several different areas of interest.
Here are my highlights:
Asp.NET with AJAX
Windows Presentation Foundation (WPF)
first time in my life i am driving a new car. The picture below shows
the trip-meter when i got the car…
It still feel like i have a rental but i think i’ll get used to the
Other than that this week will contain some (a lot) of preparations for
the tour with the band starting Thursday. That will be great!
My corps, the Vasa corps of the Salvation Army, is
gifted with many very good musical talents. For example
Gospel, Vasas Granater (youth gospel) and the VasaBand.
Each year we get together and perform a Christmas concert. This year i
am in a group that put that concert together. It will be on Nybrokajen
11 and will include the
mentioned groups and also some guests, for example [Karl-Magnus Fredriksson](http://www.musiken.nu/).
It will be a magnificent concert and hopefully something to remember for
a long time. You can, and should, buy ticket now:
Go ahead - invite a friend or two. But hurry - it’s only 600 tickets all
Visual Studio 2008 videos II
Here are some videos on Visual Studio 2008 that shows off some of the
new capabilities of our new workplace -
The voice of the guy doing the presentations is driving me mad (he
sounds like the bad guy from Seven) but it works.
By the way - I’ve just downloaded SilverLight
i think) from Microsoft. And all of a sudden a lot of their pages looks
so nice and has some really cool features.
Go ahead and get it now.
David Childs and the Hot Canary
few weeks back the British National Brass Band Championship took place
with Grimethorpe as winners for the second
As always there was a short interlude-concert before the results was
announced, this year with Black Dyke Band. One of the featured soloist
was David Childs and his performance of Hot
Canary just blew my mind! That dude really has control - not a slip, not
a hint of bad intonation AND having fun. Thank you!
For the next week the performance is on the last weeks Listen to the