Results 1 to 3 of 3

Thread: Help with file associations

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    2

    Help with file associations

    Hey everyone, I recently made a program thats kinda like winamp, you can put songs and videos and other media into a playlist and the player will scroll through it playing them, but I have a slight problem with associating media files with the program. I have gotten it so that when I double click on an mp3 file, my program will open, but what I want it to do is load the file into the playlist and start playing it. Does anyone have any help or suggestions for this? Thanks

    --Smartball

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    The filename or something should be stored in Command.

    Do something like:

    VB Code:
    1. If Command <> "" Then
    2.   lstPlayList.AddItem Command
    3.   'Code to play the file here
    4.   'etc...
    5.   'Msgbox Command 'If you want to test
    6. End if
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    2

    Smile

    Ahh thanks hobo I've tried it and it works

Posting Permissions

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



Click Here to Expand Forum to Full Width