can any 1 help problem is :

i hav a text box named text3 and a picturebox named as picture1

if any thing is typed in text3 then picture1 should display the picture which is stored in "c:\" with the name of the value that is typed in text3.

need help asap

Private Sub Text3_KeyPress(KeyAscii As Integer)
On Error GoTo msg
If KeyAscii = 13 Then ' working if enter pressed
    Picture1.Picture = LoadPicture("C:\" & Text3.Text)
End If
Exit Sub
    MsgBox Err.Description
End Sub