Try this:
Quote:
OpenDialog.ShowOpen
Form1.Caption = OpenDialog.FileName
Picture1.Picture = LoadPicture(OpenDialog.FileName)
|
you have to use the open dialog or if you want you can create your own one. then you just set the picture property(picture1.picture) to that they have selected from the open dialog and then pass that to loadpicture function, you can improve this by filter out other files such as text files and other non image files from the user in the open dialog box.