Function getItems()
''# make a reference to a directory
Dim di As New IO.DirectoryInfo("https://ipossum.svn.sourceforge.net/svnroot/ipossum/")
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
''#list the names of all files in the specified directory
For Each dra In diar1
ListBox1.Items.Add(dra)
Next
End Function
그건 내 코드이고 작동하지 않습니다. 오류는 "Warning 1 Function 'getItems' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\Users\******\AppData\Local\Temporary Projects\iPossum\Form1.vb 13 5 iPossum
"입니다.SourceForge SVN 프로젝트의 폴더에서 항목 가져 오기
어떻게하면됩니까? 감사!
하고 있습니다 또는 작업 HTTPS 요구 사항에 따라하지 않을 수도 있습니다
아주 간단한 예 시간을 내게 쓸 수 있니? –