‧作者: 范文雄/吳進北/盧佳君
‧書號: AEN002100
‧出版日: 2010/04/29‧ISBN: 9789861818900
‧EAN: 9789861818900
我和我的好朋友、寶貝學生互動及學習使用Blogger的地方。
電腦軟體設計丙級檢定學術科--Visual Basic 2008(2011最新版)(附影音教學光碟)
‧作者: 林文恭/吳進北
‧書號: AER011400
‧出版日: 近期出版‧ISBN: 9789862761076
‧EAN: 9789862761076
‧作者: Idea 3小組
‧書號: AEL007800
‧出版日: 2009/05/22‧ISBN: 9789861817095
‧EAN: 9789861817095
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MsgBox(IO.File.Exists("C:\KeyinErrMsg1.log"))
End Sub
End Class
ref: http://social.msdn.microsoft.com/forums/zh-TW/232/thread/5529426a-2489-47f8-b487-3584f1482f87
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MsgBox(IO.Directory.Exists("C:\temDir"))
End Sub
End Class
'取得目錄下所有檔案名稱
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim fArray() As String
fArray = IO.Directory.GetFiles("C:\windows\", "*.txt")
For Each f As String In fArray
Debug.Print(f)
Next
End Sub
End Class