Hi,

I used the code below to browse and upload a picture from my HD during runtime

Dim PicWidth, PicHeight
Me.CommonDialog1.InitDir = "D:"
Me.CommonDialog1.Filter = "Graphic Files (*.bmp;*.gif;*.jpg)| *.bmp;*.jpg"
Me.CommonDialog1.ShowOpen
If Me.CommonDialog1.FileName <> "" Then Me.Image1.Picture = LoadPicture _
(Me.CommonDialog1.FileName)

how can i best modify this code to browse and upload a text doc e.g word, excel etc and then have it display the path on a textbox and display a paper clip image on a label to show the attachment and on double clicking the image it should open the attached document.

Any ideas?

Regards