Private Sub Dir1_Change() File1.Path = Dir1.Path End Sub Private Sub Drive1_Change() Dir1.Path = Drive1.Drive End Sub Private Sub File1_Click() Picture1.Picture = LoadPicture(Dir1.Path & "\" & File1.FileName) Text1 = Dir1.Path & File1.FileName End Sub Private Sub Form_Load() Drive1.Drive = "D:\" File1.Pattern = "*.jpg;*.bmp;*.gif" End Sub