我想显示目录,但消息框显示:system.__ComObject
Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
filesystem = CreateObject("Scripting.FileSystemObject")
ThisDir = filesystem.GetFolder("F:\-=Temporal=-\Documentos\DVD Temazos\")
'1st try
MessageBox.Show(ThisDir.ToString())
'2nd try
Dim a As String = CType(ThisDir, String)
MessageBox.Show(a)
end sub
我做错了什么?
谢谢你