If you need code I can send you a sample source.