Le 11 mai 07 à 14:09 Soir, Eric Richards a écrit: >> Personally, I would ignore aliases using "Alias" to check if the >> file is an >> alias. If it is alias, then do not add it to the list: >> >> for LN =1 to f.Count >> if f.item(ln).visible and f.item(ln).name <> "." and f.item >> (ln).Alias = >> False then >> Me.addRow f.Item(ln).name >> end if >> next >> >> >> >> > Well if I have images some where on my computer, say in desktop > pictures or > pictures used some where else, why make a second copy of it when > you can > just use alias. > > Sometimes a user might want to keep there pictures in one spot but > want > to use theme in various locations > so alias comes in handy.
Yes, I completely agree (that's what aliases are made for). My example just suggests that you keep a reference to the original items (note, I said "a reference to") rather than accessing them by name. But, since you solved your problem, my suggestion may or may not be useful. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>