Team LiB
Previous Section Next Section

Summary

This was a fun chapter. It provided you with an introduction to regular expressions. The regular expression syntax allows you to match or replace anything in a string. This is a powerful tool and I presented only the basics to you here.

I also showed you how you could use the Masked Edit control that comes with VB 6.0. You could use it if it worked, that is. For some reason, it does not work properly in .NET and it can give you some nasty ping-pong bugs.

The Masked Edit control is a nice idea, so I showed you how to make your own. At the same time, I showed you how to put the regular expressions to good use as a validation technique.

I finished the chapter with an explanation of how to write control extenders. These extenders allow you to add properties to any existing control you choose.

The next chapter deals with the subject of XML data and how to validate it.


Team LiB
Previous Section Next Section