there is a picture file ( 40*100 ) and i wanna show this image in the background
and so , this picture file should be repeated both horizontally and vertically as we do in Html and css

Do you want to show it as one image on the entire form?

To repeat the image as in html/css, your app will eat resources big time.

so any solutions to do so ?

Please answer my question. Do you want to show it as one image on the entire form or as a repeating image on a form?

i just want to repeat image on a form

Doesn't the background image property automatically tile the image if it's too small.

sorry VB 6 does not provide such a thing

You could set up an image array, then resize them to fit in the form's resize event.

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.