MCIsendstring

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeroen van Vliet

    MCIsendstring

    I made a program where wav files will be played from the database, with the
    full path.LIKE

    i = mciSendstring(o pen d:\sound.wav type waveaudio",0&,0 ,0)
    i = mciSendstring(p lay d:\sound.wav ",0&,0,0)

    This program will be written on a cdrom, in this case ithe cdrom volume is
    D: , but on other
    systems its not. How do i let the program choose the right volume?

    Jeroen


  • Raoul Watson

    #2
    Re: MCIsendstring


    "Jeroen van Vliet" <asdasd@asdasd. nl> wrote in message
    news:brko47$4pb [email protected] .nl...[color=blue]
    > I made a program where wav files will be played from the database, with[/color]
    the[color=blue]
    > full path.LIKE
    >
    > i = mciSendstring(o pen d:\sound.wav type waveaudio",0&,0 ,0)
    > i = mciSendstring(p lay d:\sound.wav ",0&,0,0)
    >
    > This program will be written on a cdrom, in this case ithe cdrom volume is
    > D: , but on other
    > systems its not. How do i let the program choose the right volume?
    >
    > Jeroen
    >
    >[/color]
    Jeroen..
    If the program is on the same volume, you can use something like:

    Dim WAVpath as string
    WAVpath = App.Path & "\sounds\sound. wav"

    Just include WAVPath in the mcisendstring cmd.

    Beste wensen van New York.



    Comment

    Working...