Archive for June, 2008

Karl Seguin’s Foundations of Programming book makes an impression on me

Thanks to Karl Seguin for its book named Foundations of Programming.
I read the book and it makes a real impression on me. During reading I was filling the author as a man who really loves programming and it is not just a field of work for him. It is really important for me because I believe [...]

XmlUtils - serialize/deserialize an object to/from Xml in VB.Net

Here is an implementation using VB.Net of XmlUtils class from my old post. Yesterday, I wrote an implementation of XmlConverter using VB.Net. As I wrote the idea is to provide the code in VB.Net for people that use VB.Net as their favourite programming language. Both XmlConverter and XmlUtils do the same but the second one is [...]

Serialize/Deserialize a Font and Color to/from XML

Not so long ago I needed to store some of UI appearance values of my project into a custom XML file in order to allow the end-user to configure its UI appearance. As it is expected I had to store also fonts and colors. Both of them can not be directly serialized into XML. For serializing/deserializing colors [...]

XmlConverter - serialize/deserialize an object to/from Xml in VB.Net

Here is an implementation using VB.Net of XmlConverter class from my old post. I’ll not rewrite the post but just put the code and sample of its use. The idea is to allow some VB.Net guy to use the implementation as is and not to rewrite it from C# into VB.Net. BUT Let me underline that I’ve [...]

Deploy the Crystal Reports Run-time on client computer

Yesterday, a friend of mine, Martin, ran into a problem with CR run-time after installing its application on the client computer. The reason is that CR run-time should be installed on each client computer where developed application will run.
The question is how to deploy CR run-time on the client machine? And the answer can be [...]

String aggregation and adding separator between each string

Today, I found a nice blog - the blog of Peter Petrov. It contains a lovely set of posts of Useful Methods.
In one of its posts there is a really good implementation of string aggregation. There Peter said
Probably we can speed up my implementation by removing the check and removing the separator from the start but [...]