Computing.Net > Forums > Programming > vb6 filelistbox path

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vb6 filelistbox path

Reply to Message Icon

Name: martin
Date: December 14, 2003 at 00:05:04 Pacific
OS: win XP
CPU/Ram: 566MHz / 256MB
Comment:

i'm trying to get a listbox to be able to select a music file and play it in a mediaplayer control.i'm trying to get the full path by getting the path and the filename separately, but i can't get them to merge into a textbox so that i can point the mediaplayer to it. any help would be greatly appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: HaTcH
Date: December 14, 2003 at 07:29:49 Pacific
Reply:

have a filelistbox control named fil1 and a string variable named strString, a text box named txt1.

strString = fil1.path & fil1.filename

txt1.text = strString

http://www.bearcreekfire.com/zoids3d/downloads/filetest.zip

Theres a link to an example.



0
Reply to Message Icon

Related Posts

See More


Strings (VB) c++ addition



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vb6 filelistbox path

vb6 and file associations www.computing.net/answers/programming/vb6-and-file-associations/7159.html

Vb6.0 ado www.computing.net/answers/programming/vb60-ado/5087.html

VB6 Shell - changing thread prioriy www.computing.net/answers/programming/vb6-shell-changing-thread-prioriy/8893.html