Read / Load contents of a textfile into a listbox
Reads / Loads contents of a textfile into a listbox
AI
Resumo por IA: 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.
Código fonte
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
Comentários originais (3)
Recuperado do Wayback Machine