Your question is a very common task. You can find a lot if you try researching on
google[
^] before posting. One the results in that search goes to
this forum[
^] and it looks like just what you need.
Try to accomplish your task by doing the research first. Then if you are stuck with syntax or are getting a strange error message, post the error and the relevant code here and we can help you.
Hope this helps.