[Gambas-user] Useing ListView to List a Dir?

Steve Starr comtux at ...626...
Tue Aug 16 07:53:11 CEST 2005


I found this code on gambas mailing list.
I was wondering what would i have to change adout this code to have it
list my /home/comtux directory?

PUBLIC SUB Form_Open()
 DIM sPath AS String
 DIM sDir AS String
 
 FOR EACH sDir IN Dir(sPath, "*")
 ListView1.Add(sPath &/ sDir, sDir)
 NEXT

END

Thanks for any replys




More information about the User mailing list