02-03-14, 08:38 PM
Use Try
Or use System.IO



كود :
Try
Process.Start("D:\Al\video\1.mp4")
Catch ex As Exception
MsgBox("This video does not exist")
End TryOr use System.IO
كود :
If System.IO.File.Exists("D:\Al\video\1.mp4") Then
Process.Start("D:\Al\video\1.mp4")
Else
MsgBox("This video does not exist")
End If


{ يَرْفَعِ اللَّهُ الَّذِينَ آمَنُوا مِنكُمْ وَالَّذِينَ أُوتُوا الْعِلْمَ دَرَجَاتٍ }
" Mohamed M. Bedair - " Abu Anas
Genius Live , Egypt

