Err.Description demande explication
bonjour à tous.
voilà je ne comprend pas trop la fonction de Err.description dans ce programe :
Code:
1 2 3 4 5 6 7 8 9 10
| Try
PictureBox1.Image= _
System.Drawing.Bitmap.FromFile("a:\Fileopen.bmp")
Catch When Err.Number = 53
MsgBox("Check pathname and disk drive")
Catch When Err.Description = 7
MsgBox("Is this really a bitmap?", , Err.Description)
Catch
MsgBox("Problem loading file" , , Err.Description)
End Try |
voila j'aimerais savoir à quoi sert Err.Descrition
merci d'avance ^^
ps: je suis débutant