Click here to Skip to main content
15,914,327 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: combobox: append Pin
Tom Deketelaere4-Sep-07 3:31
professionalTom Deketelaere4-Sep-07 3:31 
Questionlines in multiline rich text box Pin
BooleanTrue3-Sep-07 3:58
professionalBooleanTrue3-Sep-07 3:58 
AnswerRe: lines in multiline rich text box Pin
Luc Pattyn3-Sep-07 5:47
sitebuilderLuc Pattyn3-Sep-07 5:47 
GeneralRe: lines in multiline rich text box Pin
Paul Conrad3-Sep-07 7:12
professionalPaul Conrad3-Sep-07 7:12 
GeneralRe: lines in multiline rich text box Pin
Luc Pattyn3-Sep-07 7:30
sitebuilderLuc Pattyn3-Sep-07 7:30 
GeneralRe: lines in multiline rich text box Pin
Paul Conrad3-Sep-07 7:35
professionalPaul Conrad3-Sep-07 7:35 
QuestionMP3 Playlist Pin
Indra PR3-Sep-07 3:37
Indra PR3-Sep-07 3:37 
AnswerRe: MP3 Playlist Pin
plural3-Sep-07 4:41
plural3-Sep-07 4:41 
it depends on the format you want, but if you want to use the universal .m3u playlist format read and learn something about collections but just use these codes...its a real bad programming practice, not that, but it works




Dim sr As IO.StreamWriter = IO.File.CreateText(Application.StartupPath & "\Playlists\" + TextBox1.Text + ".m3u")

sr.WriteLine("#EXTM3U")
lstItems = ListView1.Items.Count - 1
For i = 0 To lstItems
'ext = System.IO.Path.GetExtension(CStr(ListView1.Items(i).SubItems(0).Text))
'w = CStr(ListView1.Items(i).SubItems(0).Text + ext)
sr.WriteLine(CStr(ListView1.Items(i).SubItems(1).Text))
Next

sr.Close()
sr = Nothing
w = Nothing


do u understand the codes...i used directx to do a music player and a dj soft
try this out

phatkin

GeneralRe: MP3 Playlist Pin
plural3-Sep-07 4:43
plural3-Sep-07 4:43 
QuestionAccessing the windows forms generated code Pin
Mr Oizo3-Sep-07 3:27
Mr Oizo3-Sep-07 3:27 
AnswerRe: Accessing the windows forms generated code Pin
originSH3-Sep-07 3:39
originSH3-Sep-07 3:39 
GeneralRe: Accessing the windows forms generated code Pin
Mr Oizo3-Sep-07 7:38
Mr Oizo3-Sep-07 7:38 
GeneralRe: Accessing the windows forms generated code Pin
Paul Conrad3-Sep-07 7:57
professionalPaul Conrad3-Sep-07 7:57 
GeneralRe: Accessing the windows forms generated code Pin
Mr Oizo3-Sep-07 7:55
Mr Oizo3-Sep-07 7:55 
GeneralRe: Accessing the windows forms generated code Pin
originSH3-Sep-07 22:35
originSH3-Sep-07 22:35 
QuestionPlay AVI file Pin
Rupesh Kumar Swami3-Sep-07 2:12
Rupesh Kumar Swami3-Sep-07 2:12 
AnswerRe: Play AVI file Pin
Christian Graus3-Sep-07 2:49
protectorChristian Graus3-Sep-07 2:49 
AnswerRe: Play AVI file Pin
plural3-Sep-07 4:48
plural3-Sep-07 4:48 
GeneralRe: Play AVI file Pin
Christian Graus3-Sep-07 4:56
protectorChristian Graus3-Sep-07 4:56 
GeneralRe: Play AVI file Pin
plural3-Sep-07 5:03
plural3-Sep-07 5:03 
QuestionStretch background Pin
nitin33-Sep-07 1:36
nitin33-Sep-07 1:36 
AnswerRe: Stretch background Pin
Tom Deketelaere3-Sep-07 2:02
professionalTom Deketelaere3-Sep-07 2:02 
GeneralRe: Stretch background Pin
nitin33-Sep-07 2:13
nitin33-Sep-07 2:13 
GeneralRe: Stretch background Pin
Guffa3-Sep-07 2:49
Guffa3-Sep-07 2:49 
QuestionRe: Stretch background Pin
nitin33-Sep-07 20:06
nitin33-Sep-07 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.