herkese iyi günler
resim yükleme(loadpicture) penceresinde resim seçmeden iptal edince hata vermemesi için ne yapabilirim.aşağıdaki kodları kullanıyorum.
Private Sub CommandButton1_Click()
label1.caption=application.getopenfilename
folder=label1.caption
image1.picture=loadpicture(folder)
end sub
resim yükleme(loadpicture) penceresinde resim seçmeden iptal edince hata vermemesi için ne yapabilirim.aşağıdaki kodları kullanıyorum.
Private Sub CommandButton1_Click()
label1.caption=application.getopenfilename
folder=label1.caption
image1.picture=loadpicture(folder)
end sub