VB語法  Try...Catch...Finally 範例

Try
    Process.Start("http://www.microsoft.com")
Catch ex As Exception
    MsgBox("Can't load Web page" & vbCrLf & ex.Message)
End Try

 

https://docs.microsoft.com/zh-tw/dotnet/visual-basic/language-reference/statements/try-catch-finally-statement

 

arrow
arrow
    文章標籤
    Try VB
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()