hi this is very urgent

i have a document file . i have to open the document file programatically read text data from it and craete a new text file file paste the text data into it

please help me how to do this in Vb 6.0