Oh good idea, gotta change the code again :-)
Thanks!
Jimi
>Jimi,
>
>Make myarray a property of the form. This way it'll be always visible to the listbox.
MyList.RowSource = Thisform.MyArray
>
>>hi,
>>
>>I have a listbox "MyList" and a one-dimensional array "MyArray"
>>
>>MyList.RowSource=MyArray
>>MyList.RowSourceType=5
>>
>>It works fine when I run the program within VFP, but when I run the compiled .exe, it says "MyArray is not an array."
>>
>>Any idea?
>>
>>Thanks in advance,
>>Jimi
error(503): file structure failure, signature file corrupted.