There are plenty of examples of this code here on the forums. Please try a Search or check out the 'Similar threads' section at the bottom this thread.
Also look at our code snippets forum:
...
Type: Posts; User: JavaPF
There are plenty of examples of this code here on the forums. Please try a Search or check out the 'Similar threads' section at the bottom this thread.
Also look at our code snippets forum:
...
Glad you have solved your issue tccool. I have marked this thread as solved.
In future, you can do this yourself from the 'Thread Tools' menu near the top of the thread.