this should be fairly easy for a pro :)

ok. i have a file list box. how can I select the 3rd file in the filelist box. without clicking it ofcourse. what im trying to do is make a program that lists files and they're paths in a textbox by going thru the filelistbox. like, it hit go, and it adds the first filename and its path, then moves onto the second, then the third, etc. and i end up with a text box with all the files in that folder's listings. :)
pht
[red]http://fade.to/phet[/red]
[red]12d.hypermart.net[/red]
[red]phet@ocis.net[/red]

Comments

  • : ok. i have a file list box. how can I select the 3rd file in the filelist box. without clicking it ofcourse. what im trying to do is make a program that lists files and they're paths in a textbox by going thru the filelistbox. like, it hit go, and it adds the first filename and its path, then moves onto the second, then the third, etc. and i end up with a text box with all the files in that folder's listings. :)
    : pht
    : [red]http://fade.to/phet[/red]
    : [red]12d.hypermart.net[/red]
    : [red]phet@ocis.net[/red]
    :

    [code]File1.ListIndex = 2[/code]

  • [b][red]This message was edited by the pht at 2002-6-29 17:40:40[/red][/b][hr]
    ahhh i was using index, not listindex. thanx :)
    pht
    [red]http://fade.to/phet[/red]
    [red]12d.hypermart.net[/red]
    [red]phet@ocis.net[/red]



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion