[Gambas-user] file list in combobox
Benoit Minisini
benoit.minisini at ...2...
Wed May 3 09:31:27 CEST 2006
On Tuesday 02 May 2006 19:54, Peter Russell wrote:
> Hi all
> Using Version 1.0.15
>
> I actually resolved this but thought it may be an issue worth commenting
> on.
>
> I had the following code in my program for getting a number of files from
> a directory with the extension ending in .z and then removing the
> extension. *****************
> sFiles = Dir("players", "*.z")
>
> cboxPlayers.Clear
>
> FOR EACH sFile IN sFiles
> sName = Split(sFile, ".")
> cboxPlayers.Add(sName[0],i)
> INC i
> NEXT
> ***********************
>
> This ran fine until I created the exexcutable file where it crashed in
> this routine
>
What crash *exactly* ?
--
Benoit Minisini
More information about the User
mailing list