How to put a Picture as background for a form in vb6???
Picture as Background
Collapse
X
-
Originally posted by QVeen72Hi,
Did you change the Picture Name..?
Where have you written the code..?
Regards
Veena
ofcourse i changed the picture name.
i have written the code in form load event
private sub form_load()
me.picture=load picture("C:\Doc uments and Settings\Admini strator\Desktop \From Zero\image.jpeg ")
end subComment
-
Originally posted by mcluelessofcourse i changed the picture name.
i have written the code in form load event
private sub form_load()
me.picture=load picture("C:\Doc uments and Settings\Admini strator\Desktop \From Zero\image.jpeg ")
end sub
Did you try it on form properties as suggested by werks?
Rey SeanComment
-
well there are two main alternatives you will use first
you can just go to your toolbox get the image control or picture box control
put it to the form and go to the propertise of that image control and click where there is pictureand locate the picture.
secondly you can load it on run time.
me.picture = loadpicture("lo cation of the picture")
try it out.Comment
-
I think before we make any more guesses, it would be very helpful if mclueless tells us what "not working" actually means. We're working in the dark here - it could be anything from "that's not the right image" to "the computer blew up and destroyed the house". Chances are it's somewhere between these extremes, of course.Comment
-
Originally posted by mcluelessHow to put a Picture as background for a form in vb6???
Like if your form is on 1024x768 resolution and picture you are using as background is of 640xsomething then it will not cover the whole form.
You can check this by applying...
Regards
>> ALI<<Comment
Comment