Thursday, January 29, 2009

Silverlight Controls

Found a blog post that lists a bunch of Silverlight Controls that you can use in your project instead of building them yourself:

http://timheuer.com/blog/archive/2009/01/28/comprehensive-list-of-silverlight-controls.aspx

Monday, January 19, 2009

String concatenating and StringBuilder

A nice article about string concatenating and when (not) to use the StringBuilder class:

http://www.yoda.arachsys.com/csharp/stringbuilder.html

Sunday, January 18, 2009

Parameter passing: Basic, but important aspect of C#

A colleague of mine (Torleif) directed me to a page that explains the difference between passing parameters by value and passing them by reference. This is important to understand when you are programming. Recommended reading. Here’s the link:

http://www.yoda.arachsys.com/csharp/parameters.html

The author also has many other articles about C# that, based on the article I’ve mentioned above, also should be worth reading:

http://www.yoda.arachsys.com/csharp/

The article also references another article with the same purpose, that tries to explain things with images. It’s also worth reading, especially if you are more of a visual type:

http://rapidapplicationdevelopment.blogspot.com/2007/01/parameter-passing-in-c.html

Saturday, January 17, 2009

Art of Assembly Language Programming

I was given a link to this page by a friend, and although I haven’t read more than just bits and pieces here and there, it seems to be a good site for information about Assembly language and how to program in it. Here’s the link:

http://webster.cs.ucr.edu/AoA/index.html

Sunday, January 11, 2009

Have you tried Windows Live Writer?

This is my first post using Writer, and my first impression is actually good. It was easy to set up, and right after the initial setup I could begin writing a new blog post. No need to spend obscene amounts of time in the configuration screen before I could start writing. It seems to be the program I have been looking for. Now I don’t have to open my browser and browse to my blog (and login) to create a new blog post. I can just open Writer and start writing. It appears to support pictures and more fancy stuff, and I might try some of that out later.

Update 12.01.2009:
Forgot to include a link, here it is:

http://download.live.com/writer

Saturday, January 10, 2009

Interesting SourceForge projects

http://sourceforge.net/projects/dvdstyler
DVDStyler is a cross-platform DVD authoring application that makes possible for video enthusiasts to create professional-looking DVDs.

http://sourceforge.net/projects/filezilla
FileZilla is a cross-platform graphical FTP, FTPS and SFTP client a lot of features, supporting Windows, Linux, Mac OS X and more. FileZilla Server is a reliable FTP server for Windows.

http://sourceforge.net/projects/audacity
A fast multi-track audio editor and recorder for Linux, BSD, Mac OS, and Windows.Supports WAV, AIFF, Ogg, and MP3 formats.Features include envelope editing, mixing, built-in effects and plug-ins, all with unlimited undo.

http://sourceforge.net/projects/freenas
NAS (Network Attached Storage) server supporting: CIFS/SMB, FTP, NFS, RSYNC, SSH, AFP, Unison, UPnP, Webserver, iSCSI protocols, local and MS AD authentication, SoftRAID (JBOD,0,1,5), disk encryption, S.M.A.R.T, WebGUI. Requires only 32MB on DOM.

http://sourceforge.net/projects/freemind
A mind mapper, and at the same time an easy-to-operate hierarchical editor with strong emphasis on folding. These two are not really two different things, just two different descriptions of a single application. Often used for knowledge and content mgmt.

Friday, January 9, 2009

Discovering new ways to blog

Have you tried blogging with Word? I know I hadn't before, so I just had to try it. File --> New --> Templates --> Blog, write your post, and publish it. Of course you have to set up your blog provider the first time, but after that, it's just cruising… =)

Update 12.01.2009:
I discovered that the right-arrow I used in Word didn't display correctly in Opera (although it did in IE7) so I tried to change the arrow to symbols that should display correctly.

Update 29.01.2009:
Apparently it isn’t easy making right arrows display correctly. Second try.

Translating the standard items in a BindingNavigator

I was doing a little translation work on my code today, and needed to translate the "of {total number of rows}" that is displayed like "of 30" when you have a data source with 30 rows/objects/whatever in it. This is displayed in the BindingNavigator that you can use to navigate a DataGridView. So i set the Text-property of the bindingNavigatorCountItem-object to my translated formatstring and expected everything to be in order. That was not the case. It turns out, after some digging around, that there is a property on the BindingNavigator-class itself called CountItemFormat. Set this to your translated format, in my case (Norwegian) "av {0}", and you are good to go. Also remember to translate the ToolTips on the standard items, or just remove them if you don't need them.

Thursday, January 8, 2009

Finally it's my turn to start blogging!

I have been thinking about starting a blog for a while now, but I haven't gotten around to doing it before now. This blog will be filled with random stuff I want to blog about. Most of the stuff I will put here for my own reference, but if you get some value out of it, then good for you! =)