- Home
·
- Graphics
·
- Opens jpg and bitmap files onto a picture box
Opens jpg and bitmap files onto a picture box
Opens jpg and bitmap files onto a picture box
Rate Opens jpg and bitmap files onto a picture box
(1(1 Vote))
'First add a dialog box to the form( you can find a dialog box in the
'components for the tool box, the name is Microsoft Common Dialog Controls
'6.0, a picture box and an open button.
Commondialog1.filter = "Picture Files|*.jpg, *.bmp|All Files|*.*"
Commondialog1.ShowOpen
PathName = Commondialog1.FileName
If Len(PathName) = 0 Then Exit Sub
picture1.picture = LoadPicture(PathName)
Opens jpg and bitmap files onto a picture box Comments
No comments yet — be the first to post one!
Post a Comment