Re: File playback application in VB6
- From: "Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 22 Nov 2005 12:09:17 +0100
Amit,
thanks for submitting the code. Unfortunately I currently don't have an XP
machine (TAPI3.1) with dev tools on it for testing.
Could you please try:
Dim Files() As Variant
instead of String. I thought a VB String array would be automatically
converted to a SAFEARRAY with V_BSTR elements, but maybe
this assumption is wrong...
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Amit mehrra" <amitkmehra_54@xxxxxxxxxxx> wrote in message
news:uEuOvut7FHA.4012@xxxxxxxxxxxxxxxxxxxxxxx
> Sir,
> I am sending u the code u requested.
> I have tried a lot but always an run time error appeared on the line
> objMediaPlayback.PlayList = Files saying "Invalid procedure call or
argument
> (Run time Error 5)".
> Sir, I am unable to assign list of files to Playlist property of
> TAPI3Lib.ITMediaPlayback class.
>
> Plz help me
> I shall be very Thankful to you.
>
> With regards.
> Amit
> "Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
> news:uF8Hoit7FHA.740@xxxxxxxxxxxxxxxxxxxxxxx
> > Amit,
> >
> > could you please paste the code your are using?
> >
> >
> > Best regards,
> >
> > Matthias Moetje
> > -------------------------------------
> > TERASENS GmbH
> > Augustenstraße 24
> > 80333 Munich, GERMANY
> > -------------------------------------
> > Fon: +49 89 143370-0
> > Fax: +49 89 143370-22
> > e-mail: moetje at terasens dot com
> > www: www.terasens.com
> > -------------------------------------
> >
> > "Amit mehrra" <amitkmehra_54@xxxxxxxxxxx> wrote in message
> > news:uJyASUt7FHA.444@xxxxxxxxxxxxxxxxxxxxxxx
> > > Sir,
> > > I have tried your idea in my project but an run time error appeared
> on
> > > the line objMediaPlayback.PlayList = Files saying "Invalid
procedure
> > > call or argument (Run time Error 5)".
> > > Sir, I have tried a lot but am unable to assign list of files to
> Playlist
> > > property of TAPI3Lib.ITMediaPlayback class.
> > >
> > > Plz help me
> > > I shall be very Thankful to you.
> > >
> > > With regards,
> > > Amit
> > >
> > > "Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
> > > news:uIoQxDH7FHA.640@xxxxxxxxxxxxxxxxxxxxxxx
> > > > Amit,
> > > >
> > > > I believe this should work:
> > > >
> > > > Dim objMediaPlayback as ITMediaPlayback
> > > > Dim Files() as String
> > > >
> > > > ReDim Files(1)
> > > >
> > > > Files(0) = "C:\file1.wav"
> > > > Files(1) = "C:\file2.wav"
> > > >
> > > > objMediaPlayback.PlayList = Files
> > > >
> > > >
> > > > Best regards,
> > > >
> > > > Matthias Moetje
> > > > -------------------------------------
> > > > TERASENS GmbH
> > > > Augustenstraße 24
> > > > 80333 Munich, GERMANY
> > > > -------------------------------------
> > > > Fon: +49 89 143370-0
> > > > Fax: +49 89 143370-22
> > > > e-mail: moetje at terasens dot com
> > > > www: www.terasens.com
> > > > -------------------------------------
> > > >
> > > > "Amit mehrra" <amitkmehra_54@xxxxxxxxxxx> wrote in message
> > > > news:%23qif2%23F7FHA.3876@xxxxxxxxxxxxxxxxxxxxxxx
> > > > > dear Experts,
> > > > >
> > > > > I am making a File playback application in VB6 only, using file
> > playback
> > > > > terminals.
> > > > > My ploblem is that I am unable to assign list of Files to Property
> > > > PlayList
> > > > > which is Member of
> > > > >
> > > > > TAPI3Lib.ITMediaPlayback class using VB6.
> > > > > Plz help me assigning list of files using VB6
> > > > >
> > > > > I shall be very tankful to you.
> > > > > Thanx.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
.
- References:
- File playback application in VB6
- From: Amit mehrra
- Re: File playback application in VB6
- From: Matthias Moetje [MVP]
- Re: File playback application in VB6
- From: Amit mehrra
- Re: File playback application in VB6
- From: Matthias Moetje [MVP]
- File playback application in VB6
- Prev by Date: CSTA - Media Server
- Next by Date: Need Help Using Tapi
- Previous by thread: Re: File playback application in VB6
- Next by thread: TechNight Cordoba
- Index(es):
Relevant Pages
|