Read / Load contents of a textfile into a listbox
Reads / Loads contents of a textfile into a listbox
AI
AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
源代码
Public Sub File2ListBox(sFile As String, oList As ListBox) Dim fnum As Integer Dim sTemp As String fnum = FreeFile() oList.Clear Open sFile For Input As fnum While Not EOF(fnum) Line Input #fnum, sTemp oList.AddItem sTemp Wend Close fnum End Sub
原始评论 (3)
从 Wayback Machine 恢复