Public Function LoadAllFonts(lst As Control)Contoh penggunaan fungsi VB6 di atas:
Dim i As Integer
For i = 1 To 1000
If Screen.Fonts(i) = "" Then Exit For
lst.AddItem Screen.Fonts(i)
Next i
End Function
Private Sub Form_Load()
LoadAllFonts List1
End Sub