Thank you very much for ur help. I like to use applications programatically. for an example I have to open a word file and draw a line programatically. Can I do this task by java or any programming language?