Can I suggest the following as a good protocol to follow for any code snippets. A lot of people already most of this, but for those that don't...
1. Place your Snippet in the codebase.
2. Post a link to your snippet here.
3. Use your thread to discuss the code and receive feedback.
4. Edit your codebase entry to cross-reference the discussion thread.
Why go to all this trouble?
* You can categorise your entry in the codebase, and you can also search headings and descriptions to find what you want, which is more comprehensive than the Forum.
* The Forum facilitates feedback
* A combination of the 2 will result in refined, bug-free, useful codebase entries.
BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply