Have a look at this article on the VB2TheMax site:

http://www.vb2themax.com/HtmlDoc.asp...rticles&ID=270

I think this covers the sort of thing you want to do.