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から復元