Results 1 to 2 of 2

Thread: Come here for free Source Code

  1. #1
    EgoKilla messiah's Avatar
    Join Date
    Jan 2000
    Location
    northeast teXas
    Posts
    3,743

    Post Come here for free Source Code

    Planet Source Code

    I've been going here for awhile, and learning that alot of people code diffrently. This is an awesome source for learning C++, Completing quick projects, or even to learn how to hack code, to make it work the way you want, whether it be Business or home use. Great Code!


    Here is a Super-Simple MP3 playlist (beginners)
    just copy and past the code into VB
    Hit F5 to preview

    **************************************
    ' Name: Playlist
    ' Description:Playlist using Mp3Play and
    ' a Listbox
    ' By: Chris Lee
    '
    'This code is copyrighted and has' limited warranties.Please see http://w
    ' ww.Planet-Source-Code.com/xq/ASP/txtCode
    ' Id.21883/lngWId.1/qx/vb/scripts/ShowCode
    ' .htm'for details.'**************************************

    you need a listbox (list1) and the Mp3Play component inserted(Mp3Play1)


    For X = 0 To List1.ListCount - 1
    List1.ListIndex = List1.ListCount - 1
    Mp3Play1.FileName = List1.Text
    Mp3Play1.Play
    List1.RemoveItem List1.ListIndex 'optional


    If List1.ListCount = 0 Then
    Mp3Play1.Stop
    End If
    Next X
    'it plays the playlist backwards ;\

  2. #2
    Moderator Roody's Avatar
    Join Date
    Nov 2000
    Location
    Central Florida
    Posts
    30,761

    Talking

    good site...thanks for posting.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •