Thank you for replying

But in fact i need a sample source code about this subject and i do not want vbscript, i need it pure vb to use it with application