ok I have a DIALOG based project. When In my listbox I have the names of all the emf files located in a certain directory displayed in the listbox. Now when I dblclick on an item its name is displayed inside of an edit control. When I dblclick on the item I want the picture to be displayed also. I have the code to open a metafile. The code below displayes my metafile inside of a picture box. Instead of hard coding the name of the file displayed I want to be able to select the name from the listbox that already displays the names of the metafiles (emf).