i dont have a code yet.coz i am new in visual basic 6.

Don't expect tothers to write code for you . You need to post the code that you have tried so far to get help from experts of the forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.