Results 1 to 5 of 5

Thread: Errors[resolved]

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Errors[resolved]

    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:
    1. Private Sub CmdLoad_Click()
    2. On Error GoTo handler:
    3.  
    4. OriginPic.Cls
    5. OriginPic.Picture = LoadPicture(txtPath.Text)
    6. OriginPic.Refresh
    7.  
    8. handler: MsgBox "Please Make sure Path IS Correct"
    9. End Sub
    Last edited by Pino; Aug 13th, 2004 at 07:56 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width