|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
quick filelistbox question
How do i return a file name from a filelistbox wihtout actually having to select a file by clicking on it.
thanks peter |
|
#2
|
||||
|
||||
|
If you are refering to the common dialog open/save box then you have to have something entered into the filename text box (either by double clicking the file or by clicking the file and clicking a button).
|
|
#3
|
|||
|
|||
|
May be this helps....
Get FileName From FileListBox w/o Click Code:
Dim sFile as String 'Any index list of u'r choice sFile = File1.List(theIndex) 'The Selected List sFile = File1.FileName 'Full Path Of The File sFile = File1.Path & "\" & File1.FileName
__________________
I May Have Misinterpret U'r Post Correct Me If I Am Wrong......// Enjoy Coding........................../// zak2zak |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > quick filelistbox question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|