Ok i'm trying to trap the incorrect path error but this code allways displays the error evan if the image is loaded!
VB Code:
Private Sub CmdLoad_Click() On Error GoTo handler: OriginPic.Cls OriginPic.Picture = LoadPicture(txtPath.Text) OriginPic.Refresh handler: MsgBox "Please Make sure Path IS Correct" End Sub




Reply With Quote