bonjour à tous.
voilà je ne comprend pas trop la fonction de Err.description dans ce programe :
voila j'aimerais savoir à quoi sert Err.Descrition
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
merci d'avance ^^
ps: je suis débutant
Partager