Hi sujittalukde

the perfect solution i am giving here which u actually needs.

the thanks should be given to one who actually made this code i neither remember the forum nor the place from where i got
this but i preserve this.

here is the open source code with attached file