Home Computer Audio Asylum

Music servers and other computer based digital audio technologies.

RE: cPlay 1.0b13 released

Hi cics,

Thanks! Personally I like 13 over 12. I feel the bass is more solid.

After a few days of reading VB documentation on-line, I have gathered bits and pieces from the tutorial sites and come up with the following very stupid codes which will do the playlist job... with lots of hardcode. Before running the program, I have to create a m3u playlist using Foobar and put it in C:\. There is no way to break the program during playback unless using Task Manager, and the user has to close the cicsplay.exe in order to skip track :) Forgive me as this is my very first VB program...

The codes have been tested in Visual Studio 2008. However, per MSDN, myProcess.WaitForExit() cannot use the "start" command so I cannot use realtime mode as in cicsplay.bat.



----------------------------------------

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


FileOpen(1, "C:\cics.m3u", OpenMode.Input)

Dim trackname As String

Dim myProcess As Process = New Process

myProcess.StartInfo.FileName = "C:\Progra~1\cicspl~1\cicsPlay.exe"

myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Minimized

Do Until EOF(1)


trackname = "C:\" & LineInput(1)

myProcess.StartInfo.Arguments = trackname

myProcess.Start()

myProcess.WaitForExit()

myProcess.Close()

Loop

FileClose()


End Sub
End Class


This post is made possible by the generous support of people like you and our sponsors:
  Schiit Audio  


Follow Ups Full Thread
Follow Ups
  • RE: cPlay 1.0b13 released - appleteapot 11:46:29 05/31/08 (0)

FAQ

Post a Message!

Forgot Password?
Moniker (Username):
Password (Optional):
  Remember my Moniker & Password  (What's this?)    Eat Me
E-Mail (Optional):
Subject:
Message:   (Posts are subject to Content Rules)
Optional Link URL:
Optional Link Title:
Optional Image URL:
Upload Image:
E-mail Replies:  Automagically notify you when someone responds.