I want that if i put a picture on my form then only my picture should be displayed only not the form. and also only the picture ,not the picture box in square form.
thanking you,
santy
Printable View
I want that if i put a picture on my form then only my picture should be displayed only not the form. and also only the picture ,not the picture box in square form.
thanking you,
santy
At design time, set the form and picturebox BorderStyle property to 0 - None.
Then use this code
pic1 is the name of your picturebox controlCode:'load your picture
Set pic1 = loadpicture("Mypicture.bmp")
pic1.AutoSize = TRUE
Form1.Height = pic1.Height
Form1.Width = pic1.Width